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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to