On Wed, 11 Jul 2001, Torsten Curdt wrote:
> > > I'm wondering how actions influence caching!?
> >
> > They don't do directly.
> >
> > > Especially if one uses the result of an action
> > > in the sitemap. I assume using an action makes
> > > the result not cacheable?!
> >
> > The caching signature are composed of all the component that are building up the
> > pipeline. Each component states on which "names" it depends on (genKey method).
> > The validity of a component is determined of the values of those names
> > (genValidity method).
> >
> > If you can see now Action don't influence the caching behaviour of the pipeline
> > components directly. The pipeline components itself must state on what they
> > depend to the caching system.
>
> So actions will influence the caching if (and only if)
> the result of an action is passed back as parameter
> to e.g. a transformer who declares his dependency
> on the parameter, right? So
>
> <map:act type="myaction">
> <map:transform>
> <map:parameter name="param" value="{fromaction}"/>
> </map:tranform>
> </map:act>
>
> ..in the above example the cached object is invalid if
> {fromaction} changes because it is used as parameter for
> the transformer. If "param" (aka {fromaction}) does not
> change the cached object will be delivered, right?
Yes, in that sense.
Giacomo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]