cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: Caching output from xpathdirectory generator
Date Wed, 11 Apr 2007 06:04:31 GMT

> > 
> > On 10.04.2007 17:49, Grzegorz Kossakowski wrote:
> > 
> > > Even though, all components from your pipeline are 
> > cacheable you are 
> > > right. Generator is called each time you change sort order.
> > > It is that way because "caching" pipeline gives "all or nothing" 
> > > caching. It means that, if some component in the pipeline must be 
> > > executed again it is done so for all components from the pipeline.
> > 
> > Are you sure? 
> 
> within one pipeline, and if all components are 
> CacheableProcessingComponent(s), yes. 

To summarize here:

1) In a pipeline setup where all components implement CacheableComponent *and* are cached
(remember jx):
Grzegorz describes it right

2) In a pipeline setup where *not* all components implement CacheableComponent: 
Joerg describes it right

So in fact, both are right depending on the circumstances

Ard

Mime
View raw message