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 / 1931
1930  |  1932
Subject: 
Re: Forced refresh of html pages instead of getting them from browser cache
Newsgroups: 
lugnet.publish, lugnet.off-topic.geek
Date: 
Wed, 9 Aug 2000 23:23:54 GMT
Viewed: 
7 times
  
In lugnet.publish, Larry Pieniazek writes:
In lugnet.publish, Ed Jones writes:
In lugnet.publish, Larry Pieniazek writes:
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 others.

Thanks!

++Lar

<Ctrl> reload works for me.

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 the browser not to cache, by forcing it to expire out of the
browser (and out of intermediate caching servers).

Or am I missing something?

As other posters have said, it seems the meta tag with the expires and pragma
nocache subtags (I like KL's example, seems very belt and suspenders, and
that's meeee...) is the way to go.

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,
while they do look at the real HTTP headers.

KL



Message has 1 Reply:
  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 (...) (24 years ago, 9-Aug-00, to lugnet.publish, lugnet.off-topic.geek)

Message is in Reply To:
  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)

18 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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