Set cache association on creation
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. Brian Sullivan Courses by Wire (www.coursesbywire.com)
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
participants (2)
-
Brian Sullivan -
Dieter Maurer