Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: pragma no cache

  1. #1
    New to the CF scene
    Join Date
    Nov 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    pragma no cache

    Does this code work in all browsers?

    Thank you



    <HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by tacbob View Post
    Does this code work in all browsers?

    Thank you



    <HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
    this is incorrect, is a meta tag, must be:

    Code:
    <meta http-equiv="pragma" content="no-cache" />
    write it with or without '/' according to your murkup.

    and read this about http-equiv:

    http://vancouver-webpages.com/META/metatags.detail.html

    best regards
    Last edited by oesxyl; 02-26-2009 at 01:11 PM.

  • #3
    New to the CF scene
    Join Date
    Nov 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank you for your help.
    Does this stop files going in the Temp Internet Files folder?
    Last edited by tacbob; 02-26-2009 at 04:15 PM.

  • #4
    Senior Coder jerry62704's Avatar
    Join Date
    Oct 2007
    Location
    Springfield, IL
    Posts
    1,100
    Thanks
    13
    Thanked 87 Times in 87 Posts
    From Oesxyl's cite:

    Pragma
    Controls cacheing in HTTP/1.0. Value must be "no-cache". Issued by browsers during a Reload request, and in a document prevents Netscape Navigator cacheing a page locally.
    Seems to me it ONLY affects a browser that is no longer made.
    .
    .
    ...and gladly would he learn and gladly teach

    Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls

  • #5
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by jerry62704 View Post
    From Oesxyl's cite:



    Seems to me it ONLY affects a browser that is no longer made.
    probably but this part I guess is still usefull:

    Note: While HTTP-EQUIV META tag appears to work properly with Netscape Navigator, other browsers may ignore them, and they are ignored by Web proxies, which are becoming more widespread. Use of the equivalent HTTP header, as supported by e.g. Apache server, is more reliable and is recommended wherever possible.
    best regards


  •  

    Posting Permissions

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