[Zope] Cacheable and invalidation

Jean-Michel FRANCOIS jeanmichel.francois at makina-corpus.com
Tue Dec 30 10:06:57 EST 2008


Hi,

 I m trying to invalidate one entry (and not all entries) of one
FSPythonScript i have set to be cached in RamCache

ZCacheable_invalidate() invalidate all entries

<code>
    def ZCacheable_invalidate(self, view_name='', REQUEST=None):
        '''Called after a cacheable object is edited. Causes all
        cache entries that apply to the view_name to be removed.
        Returns a status message.
        '''
</code>

is it possible ?

By reading the code I supposed this is not.

Thanks
JeanMichel FRANCOIS
Makina-Corpus


More information about the Zope mailing list