[Zope] how to invalidate an object in the cache?
Itamar Shtull-Trauring
itamar@maxnm.com
Sun, 02 Jul 2000 12:52:12 +0300
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')
--
Itamar S.T. itamar@maxnm.com
Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C