[Zope] Caching Results of External PageTemplateFiles

Chris Withers chrisw at nipltd.com
Wed Sep 10 12:15:51 EDT 2003


Dieter Maurer wrote:
> An object to be cached must use the "ZCachable" Interface
> to interact with the cache manager.
> 
> Its implementation requires configuration to locate the relevant
> cache manager. You must somehow tell your "PageTemplateFile"s
> that there is a cache manager for them which they should use.
> 
> Look at the "OFS.Cache.Cachable" source to find out the details.

Also, bear in mind that PageTemplate cache extremely badly.
See some of Jamie Heilman's excellent posts on why this is the case...

cheers,

Chris




More information about the Zope mailing list