[Zope-CMF] Re: Re: Re: Re: CachingPolicyManager improvements
Geoff Davis
geoff at phds.org
Tue Sep 6 14:40:32 EDT 2005
On Tue, 06 Sep 2005 11:48:30 -0500, Paul Winkler wrote:
> limi wrote:
>> On Tue, 06 Sep 2005 06:18:30 +0200, Geoff Davis <geoff at phds.org> wrote:
>>
>>> RAMCacheManager has no good way to purge stale content.
>
> ZCacheable_invalidate()?
> (granted, in practice it's currently broken for skins...
> http://www.zope.org/Collectors/CMF/343 )
>
It's not just that RAMCacheManager has bugs. ZCacheable_invalidate, when
called, invalidates everything in the cache associated with a given page
template. That means that if you cache, say, a template that provides
a view of a document, the only way to invalidate the view for a single
document is to invalidate the view of _all_ documents. Not very useful.
More information about the Zope-CMF
mailing list