[Zope] Set cache association on creation

Dieter Maurer dieter at handshake.de
Sat Feb 28 16:52:47 EST 2004


Brian Sullivan wrote at 2004-2-27 14:42 -0500:
>I am using Zope 2.6.2.
>
>I would like to automatically set the cache association of files in a folder
>on creation(the files are created by Zipfolder so I don't have direct
>control of creation process). Is there some mechanism to do this?
>
>Failing that can somebody provide some information/guidance on setting
>associations in a Python script either in bulk or by individual file after
>creation.

Look at the methods provided by the cache managers themselves
or in "ZCachable". "DocFinder" might help you to find these
methods:

  <http://www.dieter.handshake.de/pyprojects/zope>


-- 
Dieter



More information about the Zope mailing list