 | | Re: My New Webpage!!!
|
|
(...) Thanks! Forgot to say "Comments Welcome" -John Rudy (URL) (25 years ago, 9-Aug-00, to lugnet.publish, lugnet.western, lugnet.general)
|
| |
 | | Re: Forced refresh of html pages instead of getting them from browser cache
|
|
(...) I read somewhere that not all proxy caches will observe this. Actually I think it said they only look at the actual headers, not HTTP-EQUIV. It doesn't hurt to cover all bases. See my other post for details. KL (25 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)
|
| |
 | | Re: Forced refresh of html pages instead of getting them from browser cache
|
|
(...) Here's what I do to guarantee no caching: void printCGIheader(){ printf("Content-type: text/html\n"); printf("Expires: 0\n"); printf("Cache-control: no-cache\n"); printf("Pragma: no-cache\n"); printf("\n"); } void printCookieHeader(char (...) (25 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)
|
| |
 | | Re: Forced refresh of html pages instead of getting them from browser cache
|
|
(...) Some browsers (I don't remember which ones, sorry) don't respect this. It's best to combine this with the expires header, I think. :( (25 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)
|
| |
 | | Re: Forced refresh of html pages instead of getting them from browser cache
|
|
In the header of the page add: <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> This tag also keeps pages from being cached by proxy servers... (25 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)
|