cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: CachingSource
Date Wed, 05 Apr 2006 21:39:02 GMT
Jeremy Quinn wrote:
> 
> On 3 Apr 2006, at 23:09, Joerg Heinicke wrote:
> 
>> On 01.04.2006 13:09, Jeremy Quinn wrote:
>>
>>>> But the good part is that the code is in the release - it doesn't  
>>>> really
>>>> matter where it is as long as it is available :)
>>>
>>> I am not entirely sure that the code is in the Branch_2_1_X any more.
>>
>>
>> AFAIR there is no longer a scratchpad block in the branch.
> 
> 
> I guess it disappeared with the scratchpad, but there is another way  of 
> doing the same thing (as usual) ....
> 
> I am using an expiring pipeline :
> 
> <map:pipe
>     name="expires300"
>      
> src="org.apache.cocoon.components.pipeline.impl.ExpiresCachingProcessing 
> Pipeline">
>   <parameter name="cache-expires" value="300"/> <!-- Expires in  
> secondes -->
> </map:pipe>
> 
> Does exactly what is says on the label :)

IIUC it's not as powerful because the caching source can be configured to be 
updated by a seperated thread in the background.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Mime
View raw message