I found solution, but it is not very useful (we are using request
params in many places):

<map:match pattern="site.xml">
  <map:aggregate element="Page">
     <map:part src="cocoon:/getdata"/>
     <!-- other parts -->
  </map:aggregate>
  <map:transform type="saxon-noparam" src="context://path/prepare.xsl"/>
  <map:transform type="cinclude"/>
  <map:transform type="saxon-noparam" src="path/stylesheet.xsl"/>
  <map:serialize type="xhtmlt"/>
</map:match>

Default map:transform type was xslt (xalan with use-request-parameters
set to true). The difference between saxon and saxon-noparam is very
simple:

<use-request-parameters>true</use-request-parameters>
<use-request-parameters>false</use-request-parameters>

I don't see any sense why use-request-parameters makes cache problem,
is there solution to use "normal" saxon with request params and XSP
caching ?

Regards,
Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to