SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot SirFrigglesworth's Avatar
    Join Date
    Aug 2009
    Location
    Chicago, IL
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    forcing reload of html page

    to force a reload of html page everytime user comes would this be enough:

    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">

    within the <head></head>

    im using xhtml strict 1.0
    "Death smiles at us all. All a man can do is smile
    back."

    -Gladiator

  2. #2
    SitePoint Zealot SirFrigglesworth's Avatar
    Join Date
    Aug 2009
    Location
    Chicago, IL
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    doesn't xhtml strict 1.0 have to be ALL lowercase so would i put:

    <meta http-equiv="pragma" content="no-cache">

    in the head section

    ??

    thank you in advance
    "Death smiles at us all. All a man can do is smile
    back."

    -Gladiator

  3. #3
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SirFrigglesworth View Post
    to force a reload of html page everytime user comes would this be enough:
    No. Meta elements can be completely ignored. You should send the appropriate cache control HTTP headers from your web server. The caching tutorial is a good place to start reading.

    Quote Originally Posted by SirFrigglesworth View Post
    doesn't xhtml strict 1.0 have to be ALL lowercase so would i put:

    <meta http-equiv="pragma" content="no-cache">
    XHTML is case-sensitive and all element names and attribute names have to be lowercase. (Not necessarily attribute values, though.) Also, every element must be closed, and since meta elements can't have any content you can use the self-closing syntax (null end tag):

    Code XML:
    <meta http-equiv="Pragma" content="no-cache"/>
    Birnam wood is come to Dunsinane

  4. #4
    SitePoint Zealot SirFrigglesworth's Avatar
    Join Date
    Aug 2009
    Location
    Chicago, IL
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AutisticCuckoo View Post
    No. Meta elements can be completely ignored. You should send the appropriate cache control HTTP headers from your web server. The caching tutorial is a good place to start reading.


    XHTML is case-sensitive and all element names and attribute names have to be lowercase. (Not necessarily attribute values, though.) Also, every element must be closed, and since meta elements can't have any content you can use the self-closing syntax (null end tag):

    Code XML:
    <meta http-equiv="Pragma" content="no-cache"/>
    thank you
    "Death smiles at us all. All a man can do is smile
    back."

    -Gladiator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •