Partners & Affiliates














Re: [phplib] Caching problems with MSIE From: Troels Arvin (troels <email protected>)
Date: 09/06/00

"Peter H. Lemieux" wrote:
> 1) MSIE 4/5 ignores all cache-control headers that are sent via
> <meta http-equiv> tags.
That's fine with me. Setting HTTP headers with HTML is basicly a very
stupid idea anyway.

> 2) MSIE *only* recognizes an "Expires: -1" HTTP header as indicating
> that a page should be expired immediately.
?!
Now that sucks. As you mention, that's a clear violation of the HTTP
standard.

And it can't be true for all MSIE browsers. Just tested in an NT 4
version of IE 4 and Wind2000 version of IE 5, and neither of them needed
"-1" as Expires-value if I didn't want the page cached. A valid
in-the-past date was fine.

I'm against breaking specifications (like the HTTP specification)
because of buggy software. Especially when the bug is only present in
certain very special builds of that software. So I'd say: "No, don't
send -1 expires headers, because the header wouldn't be valid".

-- 
Greetings from Troels Arvin, Copenhagen, Denmark

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>