16 Dec
2002
16 Dec
'02
5:22 p.m.
Is there an API for using Zope's cacheing machinery from python products? Specifically, I have a subclass of SimpleUserFolder which calls 20+ SQL statements every time it's called just to work out the user's details - this is all very cacheable and I can see that Zope provides various caches - there are some useful-looking methods in RAMCacheManager.py, but I was wondering if there is a 'known' way to do it. Thanks, Felix.