[mod_python] IE not using cached images

Jason Morgan jwm-modpython at sentinelchicken.net
Thu Jan 16 11:43:25 EST 2003


> This won't hurt:
> 
> req.headers_out.add("Cache-Control:","no-cache")
> req.headers_out.add("Pragma:","no-cache")

Won't this make the browser request the contents again? What I want is
for IE not to request what it already has cached.

> 
> as welll as adding this to your HTML header:
> 
> """<meta http-equiv="expires" content="Tue, 20 Aug 1996 01:00:00 GMT">\
> <meta http-equiv="Pragma" content="no-cache"><title>%s</title>%s</head>"""

Maybe the content expiration will work.

Thanks,

Jason



More information about the Mod_python mailing list