Roché Compaan wrote at 2007-2-23 18:44 +0200:
>Cool idea. I haven't done any coding involving OFS.Cache though. Looking
>at it briefly it looks like one can modify the catalog to subclass
>OFS.Cacheable and then use the ZCacheable_get, ZCacheable_set and
>ZCacheable_invalidate methods to interact with a cache manager. This
>needs to be pretty explicit though. Are there any side effects that I
>should guard against if the catalog subclasses OFS.Cache?
A RAMCache cannot cache the result afte "LazyMap" has been applied
to it. The result before "LazyMap" can be cached and the cached
value needs to be "LazyMap"ped before it is returned.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -