  |    | Re: Forced refresh of html pages instead of getting them from browser cache
  |  
  | 
(...) BTW, the reason I *had* to figure out how to do this is because after uploading a file, the server spits out a javascript redirect (this.replace ...) to the folder url the uploaded to. If that page was cached, the user would see the cached (...)   (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
  |  
  | 
(...) EXPIRES (...) Just a clarification, my example was for direct writing of HTTP headers, as you must do in a CGI. I suppose those tags would work as META HTTP-EQUIV tags in a web page, but I'm not sure if all proxy caches look at http-equivs, (...)   (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
  |  
  | 
(...) That's a keystroke, right? A process runs to generate these pages quite frequently. We want the user to see the most freshly generated page without the user having to take any action of their own. So we want to put tags into the page to tell (...)   (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
  |  
  | 
(...) <Ctrl> reload works for me.    (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
  |  
  | 
(...) Wicked excellent. I'm going to try that. So the cookie rationale there is to avoid having cookies accidentally set twice, yes? In case one of the caching entities isn't smart enough to automatically not cache pages containing set-cookie (...)   (25 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)   
   | 
 |   | 
  |    | 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)   
   |