On Tuesday 06 September 2005 07:39 am, Joose Vettenranta wrote: > Hi, > > are actions cacheable? > > I stuff working like this: > > <map:match> > <map:act type="myAction" /> > <map:generate type="jx" src="..." /> > <map:transform type="xsltc" /> > <map:transform type="xsltc" /> > <map:serialize type="html" /> > </map:match> > > in myAction I save information to request-attribute and in jx- > generator I have software creating xml from that information. > > this is never cached right? (because myAction does not implement > cacheable) > Can action be made to implement CacheableProcessingComponent ? > > <snip /> > > if that act type="foo" is not cacheable, is that whole pipeline then > non cacheable?
IIUC, cacheability is not affected by <map:act> any more than it is affected by <map:match> or <map:select>. It is only the processing components (generator, transformer, serializer) that determine cacheability. If your processing components are all cacheable then your action cannot make that pipeline uncacheable, and vice-versa. For instance, in your first example above, it's not the map:act that makes the pipeline uncacheable but the jx generator. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
