Hi, I have a custom Generator, which pulls XML data from EJBs. I'd like to make this generator cacheable, based on the url. I've added the following to my Generator:
- implemented Cacheable - wrote generateKey(), which uses HashUtil.hash(URL+parameter1+param2) to generate the cache key - wrote generateValidity(), which returns NOPCacheValidity.CACHE_VALIDITY, for testing purposes (ie. this cache entry will last forever) Now when I browse the Cocoon-generated pages, I see the cache seem to work properly, based on the log messages (stores at the first hit, retreives from cache after); but watching logs on the EJB side meanwhile, I see that _every_hit_ is still pulled from there, every hit on the website generates database access, etc. What does that mean? Christopher ps. on Cocoon 2.0.1, JBoss3+Jetty as container, linux x86 -- .Digital.Yearning.for.Networked.Assassination.and.Xenocide --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>