cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <>
Subject Re: Caching for database driven sites
Date Thu, 16 May 2002 14:17:15 GMT

Marcelo F. Ochoa wrote:

> AFAIK Cocoon's caching algorithm uses the URL information for making 
> the caching key (long value returned by generateKey() method), look at 
> the sources for org.apache.cocoon.util.HashUtil and 
> org.apache.cocoon.generation.FileGenerator as an example.
>  Obviusly any Generator could implement your own generation key 
> algorithm but I never seen a generator that base your key generation 
> on the content off the XML message instead of the URL that identified 
> it, obviusly for performance reason.

For file based resources could this use a timestamp (in addition to the 
uri) to see if it has changed?

To unsubscribe, e-mail:
For additional commands, email:

View raw message