> -----Original Message-----
> From: arturl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 27, 2003 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: caching
> 
> 
> Hello,
> I've asked this question some time ago, but got no answer.
> Is it possible to cache the content produced from file generator fetching
> data from some external url for specified time?
> I'd like the generator not to check last modification date (and so
> connecting to the external server) but serve content from internal cache.
> 
It is not directly possible. You have to create your own file generator
by simply inheriting from the cocoon file generation. All you have to do
then, is to return a so called cache validity object that is valid for this
expiration time.

Gianugo is changing some parts in the cocoon caching. Then you will
be able to cache the complete pipeline for the expiration date without
creating your own custom generator.

HTH
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to