PDA

View Full Version : pragma no cache



tacbob
Feb 26th, 2009, 12:35 PM
Does this code work in all browsers?

Thank you



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

oesxyl
Feb 26th, 2009, 01:09 PM
Does this code work in all browsers?

Thank you



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



<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

tacbob
Feb 26th, 2009, 04:12 PM
Thank you for your help.
Does this stop files going in the Temp Internet Files folder?

jerry62704
Feb 26th, 2009, 04:52 PM
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.

oesxyl
Feb 26th, 2009, 06:15 PM
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