[thelist] Caching images

Erik Mattheis gozz at gozz.com
Wed May 16 08:21:40 CDT 2001


Well, definitely some, maybe most browsers have stunk at respecting 
expires headers ... but last time I tried (pre 5.0 browsers), I 
couldn't find one that gets tripped up if you set both the expires: 
and last modified: headers to 24 hours in the past ... I also threw a 
pragma: no-cache in there for good luck.

>I'm sending out images with an HTTP header that says
>"Expires: Fri, 30 Oct 1998 14:19:41 GMT"
>
>If you enter the URL of the JPG directly, and then
>visit a page that contains that URL in an IMG tag, the
>cached image is being used instead of a fresh copy
>being pulled from the server.
>
>I already have a workaround; that's not a problem.
>
>I *am* wondering, though, if I am doing something wrong,
>if I am misreading the HTTP specification, or if this is a
>matter of a broken browser.
-- 

- Erik Mattheis

"For best results, pronounce muh THEIGH ess."

(612) 827 3963




More information about the thelist mailing list