Hi Ard,

in yours & Max'es mails there's quite some useful information on the
ExpiresCachingProcessingPipeline. How about writing some documentation
on it over at

http://cocoon.zones.apache.org/daisy/documentation/components/1063/g1/939.html

Just a gentle suggestion. If you register in Daisy and let us know your
login, we can give you edit access.

On Thu, 2006-03-16 at 17:48 +0100, Ard Schrijvers wrote:
> For those wanting to use the ExpiresCachingProcessingPipeline in example a 
> poll or forum you are able to do this as follows:
> 
> add the parameters :
> 
> <map:parameter name="expires" value="100000"/> <!-- just make sure it is 
> large! -->
> <map:parameter name="purge-cache" value="{request-param:purge-cache}"/>
> 
> 
> Now your poll/forum is very long cached (100000 sec). When somebody votes/a 
> new reaction is added, make sure that action is done with an extra parameter: 
> purge-cache=true.
> 
> This way, after a vote, the specific pipeline's cached is purged, and rebuild 
> and again cached for very long (100000 sec). This way you can deliver high 
> performance polls/fora. This is already available in 
> ExpiresCachingProcessingPipeline in 2.1.8
> 
> AS
> 
> ps what I still want to build is that you can define a time untill which the 
> ExpiresCachingProcessingPipeline is valid, instead of giving it just an 
> "arbitrary" value. Often I know that a pipeline is valid untill 0:00, BUT, 
> since I dont know when the first request comes, I can not cache it longer 
> then, say 5 minutes (so that it is cached maximally untill 0:04:59). More 
> people interesting in this feature? 
> 
-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


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

Reply via email to