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

Ben Curtis Quixote at LaMancha.org
Tue Jun 26 12:50:08 CDT 2001


> I wonder what the difference is between "Automatically"
> and "Every visit to the page". For example would
> "Automatically" just check on Tuesdays, unless the moon
> was full?

"Automatically" compares the date last modified of the file on the server to
the date last modified of the file in cache, and takes the more recent of
the two. This is made complex by intervening proxy caches which store
incorrect dates or make a bad guess as to when it should refresh the data,
as well as by simple human-error problems like servers with the date
incorrectly set, and so forth.

Also, client-side caching is not the only caching problem. I have had
extensive problems with educational institutions and large businesses
caching pages so that one person sees another's pages. The solution to this
is to put forth some cache-control headers server side and hope for the
best.

+Ben Curtis

"One of the symptoms of an approaching nervous breakdown
is the belief that one's work is terribly important."
- Bertrand Russell (1872-1970)










More information about the Javascript mailing list