Ticket #13536 (confirmed Bug)
plone.app.imaging and plone.outputfilters caching problems
Reported by: | petschki | Owned by: | witsch, davisagli |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | General | Version: | 4.2 |
Keywords: | image, scale, outputfilters, cache | Cc: |
Description (last modified by petschki) (diff)
scenario:
- upload an image
- create a document and place the image in tinymce with a scale
- change the original image resource
- take a look at the document: it still shows the old scaled image
this is because the rendered image link from plone.outputfilters gets cached in portal_transforms for one hour or when the document has modified (or the zope instance is restarted) and p.a.imaging never removes/purges rendered scales. it just creates a new hash for the image scale url
possible solution:
check with linkintegrity where the image is in use and fire a modification event on those documents (?) just a quick thought ...
Change History
Note: See
TracTickets for help on using
tickets.
stumbled upon this article http://david.wglick.org/2009/image-captions-and-the-portaltransforms-cache/
so there are two more possible solutions: