To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / *1930 (-10)
  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 (...) (24 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. (24 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 (...) (24 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
 
(...) 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 (24 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 (...) (24 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. :( (24 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... (24 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
 
(...) IIRC, there is a pragma no-cache that you can add to the HTTP headers. --Todd (24 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)
 
  Forced refresh of html pages instead of getting them from browser cache
 
Is there a better (any other?) way to force a page not to be cached but instead fetched from the server every time, other than using the META EXPIRES tag at the top of the page. That's the only way I found and am interested to learn if there are (...) (24 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)
 
  Re: IE css help
 
(...) Turns out the answer is: it's a bug in IE 5.0. Seems to be fixed in 5.5. (24 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR