cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Re: forced caching of volatile data
Date Mon, 11 Aug 2003 05:39:55 GMT
On 10 Aug 2003 at 22:26, Geoff Howard wrote:

> rufio wrote:
> > Hi all
> > Is there a way to enfoce an asumption that volatile data (eg. stored
> > in DB) changes once a specific interval?
> > 
> > Now if we have 100 requests/s SQLTransformer querys DB 100 times/s,
> > right? I'd like to set it up to query only once a, say minute and
> > cache the result.
> > 
> 
> To my knowledge there is no way to do this with the current 
> SQLTransformer.  You could extend the SQLTransformer to add caching
> support which would be quite trivial to do if you are really content
> to use such a simple algorithm as cache always for one minute.

In Cocoon 2.1 isn't there something to do with 'expiry' in the cache? I remember 
some discussion about making it possible to set a pipeline to 'expire' after x seconds, 
regardless of its content. Wouldn't this sort this problem?

Hope that helps, if a bit vague.

Regards, Upayavira

> Geoff
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For
> additional commands, e-mail: users-help@cocoon.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message