[Javascript] Client Side anti-cache [was 1 MORE Question...]

Josiah Gordon jgordon at directfile.com
Mon Jun 25 17:52:15 CDT 2001


--------------
As the pages may be medium sized say 25k 50K? and the prices will be valid
for
a while, I would like to
a) Set an expiry date in a META tag (URL for format advice on that??)
b) Have a script which after comparing system date to document.lastModfied
would force a reload from the server if the gap between the two dates
exceeded
a given number of days - which would be set to coincide with the expiry date
in
a META tag - what we call "belt and braces" methods to achieve the desired
end
- display of valid in-date prices to customers.
--------------


Do you find that default caching methods are not working? When I view a
static HTML page, update it on the server, then view the page again (with no
explicit reload on my part) my web browser *always* serves up the fresh page
(with default cache settings in IE 5.5 SP1). I personally have not
experienced a problem with a static cached document being out of date.

Or are you maybe interested in pages that are left open for a long time
refreshing themselves after a certain period of time?


--Josiah Gordon

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.262 / Virus Database: 132 - Release Date: 6/12/2001





More information about the Javascript mailing list