If you attach the code I can take a look at it. Is it with cocoon-2.1.x or 2.2? 
For 2.1.X I am most likely to be able to help you out. 2.2 I haven't had time 
for yet.
 
Do realize also, that if former parts in the pipeline are not cacheable, your 
generator won't be cached either!  So try isolating your generator (and of 
course, put it in caching pipeline also!!)
 
Ard
 

--

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl <http://www.hippo.nl/> 
-------------------------------------------------------------- 

-----Original Message-----
From: Edward S [mailto:[EMAIL PROTECTED]
Posted At: maandag 30 juli 2007 15:28
Posted To: Cocoon User List
Conversation: Cocoon Caching
Subject: Re: Cocoon Caching


As per the document, I created a cocoon generator and implemented the 
CacheableProcessingComponent interface.
 
As stated, 2 methods should be implemented:
1] getKey()
2] getValidity()
 
I created an object, that had all the request parameters along with the URI. 
Made that object serializable and set that one as te key.
Similarly, I created another object that implemented SourceValidity and 
returned that object from the getValidty method.
 
However, when I run thru the pipeline... its never adds anything to the cache 
neither it returns anything back from the cache.
 
any thots on where I am going wrong??
 
-Ed.
 

Reply via email to