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.
I'm actually interested in a Guru's response on this as I will need to set
the expiry explicitly to save load on the server for content that is
dynamically generated but doesn't change often.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Marco
> Sent: Sunday, 2 July 2000 9:08 AM
> To: [EMAIL PROTECTED]
> Subject: [Zope] how to invalidate an object in the cache?
> I am working with photo rotating/resizing, via PIL on external
> All the images are kept on LocalFS.
> There is a thumbnail bonanza page, when I select a thumbnail a
> form is shown, and I can adjust rotation/contrast/brightness.
> Upon submit, the new image+thumbnail is calculated and written
> to the filesystem.
> Then the method calls RESPONSE.redirect to show the index page again.
> When I go back to the index thumbnail page, the
> image I've just rotated is displayed with the right size (which means
> that Zope gets it right), but not rotated (which means that Netscape
> reads the old image from the cache). I mean, if it was 320x200 and is
> now 200x320, the browser displays the old 320x200 image stretched to
> I'm not digging into contrast and brightness, but the same happens.
> Is there a way to force the browser to discard the cache for that
> image? If I go "right-button, view image, shift+reload" the new
> image is displayed.
> Any idea? I'm not very knowledgeable on this matter, I don't design
> pages for a living.
> Thank you.
> "This company has performed an illegal operation and will be
> shut down.
> If the problem persists, contact your vendor or appeal to a
> higher court."
> - Signal11 on slashdot
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -