[Zope] how to invalidate an object in the cache?

Tino Wildenhain tino@wildenhain.de
Sun, 02 Jul 2000 16:32:07 +0200


Hi,

Itamar Shtull-Trauring wrote:
> 
> Marc Boschma wrote:
> 
> > Sounds like you need to manipulate the expiry time for the objects. I'd
> > suggest that that can either be done in the RESPONSE or via meta tags in the
> > standard_html_header to mark the page and the image as non-cacheable.
> 
> Read the Cacheability Howto - http://www.mnot.net/cache_docs/
> 
> You can set the HTTP headers described there using RESPONSE.setHeader:
> RESPONSE.setHeader('Cache-Control', 'no-cache')
Yeah, but you have to do this in the image, not the document.
So one has to patch the image-object as I did for this case.

Regards
Tino Wildenhain