cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward S" <sumi...@gmail.com>
Subject Re: Cocoon Caching
Date Mon, 30 Jul 2007 13:28:20 GMT
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.

Mime
View raw message