Bartek Gorny
2006-09-14 19:04:29 UTC
Hello
I tried to use caching methods, but it seems that a simple statement like:
def getWhatever(self):
def cached_getWhatever():
return something
cached_getWhatever=CachingMethod(cached_getWhatever, id='an_id')
return cached_getWhatever()
does caching per portal type, which is very useful, but I need to do
caching per object - is there any way to do this?
Bartek
I tried to use caching methods, but it seems that a simple statement like:
def getWhatever(self):
def cached_getWhatever():
return something
cached_getWhatever=CachingMethod(cached_getWhatever, id='an_id')
return cached_getWhatever()
does caching per portal type, which is very useful, but I need to do
caching per object - is there any way to do this?
Bartek
--
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"