28 Feb
2004
28 Feb
'04
9:52 p.m.
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