[thelist] Prevent Caching in IE

Bill Moseley moseley at hank.org
Mon May 5 19:46:04 CDT 2008


On Tue, May 06, 2008 at 10:38:44AM +1000, Ken Schaefer wrote:
> Cache-Control: no-cache should be enough to get browsers to stop caching content.

It should be, but IE was still returning a previous page even with
that header.  Maybe it was the post- or pre-check breaking things, not
sure.

> An invalid Expires header value (e.g. -1) is interpreted to be
> "expires immediately", which is why using an invalid value like -1
> causes the page to expire (and IE to get a new copy)

So, it's OK to use -1 in the Expires header?  I didn't see in the http
spec that was allowed.


Thanks,

-- 
Bill Moseley
moseley at hank.org




More information about the thelist mailing list