I'm doing this from memory so bear with me. I'm pretty sure this is the syntax in the sitemap pipelines section.


<map:pipeline type="caching"> <map:parameter name="expires" value="access plus 1 minutes"/>

<!-- Add your URI matchers below that you want to expire in the future -->
</map:pipeline>



Upayavira is correct; The functionality is there. If it doesn't work, either my syntax was faulty or the build is broken.


- Miles Elam



Upayavira wrote:

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?


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?





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



Reply via email to