cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: [PROPOSAL] "CachingPoint" Caching algorithm
Date Mon, 17 Jun 2002 14:18:18 GMT
> From: Michael Melhem [mailto:michaelm@fztig938.bank.dresdner.net]

<snip/>

> > > That's a clever algorithm, but don't you fear it will create too
many
> > > branch points (and so cache entries) that what is really required
by
> > > the application ?
> >
> > Same fear here.
> 
> The idea is that whenever the developer feels that cachingpoints would
> be beneficial (perhaps in the case where they use cocoon-views or
drill down
> functionality heavily in a pipleline) then they can set that pipeline
> and *only* that pipleine to use caching points.
> 
>  <map:pipelines default="caching">
>       <map:pipeline name="caching"
>
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin
e"/>
>       <map:pipeline name="cachingpoint"
>
src="org.apache.cocoon.components.pipeline.impl.CachingPointProcessingPi
peline
> "/>
>  </map:pipelines>
> 
>  Cocoon 2.1 allows one to select the pipeline caching algorithm as
above.
> 
>  This means that the effect of cachingpoint algorithm is localised to
where
> its needed.

I know this, and CachingPointProcessingPipeline may be useful in some
situations.


> > PS What was the reason against <map:cache/> proposal in the early
days
> > of C2? It seems a bit similar to this caching point stuff.
> 
> Im not sure how <map:cache> worked....hmmm, but with cachingpoint
> the caching points are *implicitly* loacted *only* at strategic points
> through out the pipeline, and only if that particular pipeline is
> set to cachingpoint itself.

It never worked, it was proposed once. The idea was to allow developer
to specify caching points.

Vadim



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


Mime
View raw message