[mod_python] IE not using cached images

Jason Morgan jwm-modpython at sentinelchicken.net
Wed Jan 15 19:45:27 EST 2003


On Wed, Jan 15, 2003 at 10:55:57PM +0100, Geert Jansen wrote:
>
> I have seen this problem too. I did the following things:
>
> * Make sure an appropriate "Last-Modified" http header is sent.

I'm sorry for my ignorance but how do I do this? Is this in addition to
send_http_header() or do I modify the http header to be sent?

> * If the image is dynamically generated, make sure that there is
>   no query part in the URL, i.e. the part after '?'. I think MSIE
>   reloads these URLs every time. You can still pass parameters by
>   using path_info.

This isn't an issue as all images are static.

Thanks,

Jason




More information about the Mod_python mailing list