[Zope] Cachable objects

Dieter Maurer dieter@handshake.de
Mon, 24 Mar 2003 19:52:34 +0100


Thierry FLORAC wrote at 2003-3-24 09:47 +0100:
 > I'd like to be able to cache several objects of my Zope site in a RAM cache 
 > manager.
 > My questions are :
 >  - how can I make a class "cachable" ?
 >  - is it the whole objects that are cached, or just the result of their called 
 > methods ?
 >  - when a cached object is modified, is there any way to refresh it in the 
 > cache ?
 >  - and any other important points about caching that I should take care of...

RTDF: Read the "Cache Manager API" (--> embedded online help).

Look at some examples, e.g. DTML Method and Python Script.

Come back with more specific question where there remain some....


Dieter