[Zope] caching python script in product skins?

Jens Vagelpohl jens at dataflake.org
Wed Oct 13 03:52:43 EDT 2004


On Oct 13, 2004, at 9:40, Choo Zhi Min wrote:

> Hi,
>
> I have some python scipts in the skins directory of my custom zope 
> product. They only have Customize and Test tabs, but no Cache tab. How 
> to cache them like other python scripts that exist in ZMI?

You cannot directly cache the file system scripts using the ZCacheable 
mechanism, unless you "customize" them so they become "real" Python 
scripts. The FSPythonScript class does not mix in the ZCacheable mixin 
class that provides cacheability, only the standard PythonScript class 
does.

jens



More information about the Zope mailing list