dear all,<div><br></div><div>I wonder the following and I'd be interested to hear your thoughts about it:</div><div><br></div><div>When creating a resource which is subclassed of Yanel's BasicXMLResource, the following happens:</div>
<div><br></div><div>- getView() gets called by Yanel</div><div>- then the resource's getContentXML() gets called: here you prepare the XML document that at the end is passed to the XSL transformation</div><div>- getTransformedInputStream() gets called: here the actual XSLT is performed.</div>
<div><br></div><div>I wonder the following regarding performance:</div><div><br></div><div>- the XSLT process includes the transformation of XSL files into Java template objects.</div><div>- The creation of such template objects certainly takes time and is probably done for every request</div>
<div><br></div><div>What can be done to reduce the time needed for the XSLT part of a request time?</div><div><br></div><div>- Did anybody use precompiled templates (e.g.: the XSLT transformer only compiles the XSL, if it has changed since the last compilation), I read some articles about this pre-compilation topic which should boost the whole XSLT time dramatically</div>
<div>- Split up include files into smaller ones?</div><div><br></div><div>Generally asking: </div><div>- Did you do anything specifically regarding performance of XSLT?</div><div>- If so, what did you apply?</div><div><br>
</div><div>Cheers</div><div>Balz</div>