Oskar Werewka wrote:
> 
> Does the use of xsl include affects much performance?
> If it is used once COCOON will cache somehow the
> combined style sheet or will read the source files each time?

Quick answer:

xsl:include runs _*MUCH*_ quicker on Cocoon 1.x series.
It only runs marginally quicker on Cocoon 2 series.

There is NO mechanism for Cocoon to cache the individual
source files using this approach--no matter which version
you are running.  The end result is that you will not see
any change unless the parent stylesheet is modified (the
stylesheet doing the including).

Cocoon 2 runs much quicker for most applications than
Cocoon 1, so the xsl:include approach is not as critical
for performance.  Also, Cocoon 2 can cache the individual
stylesheets if they are implemented serialy.

> 
> Regards,
> Oskar
> 
> --
> 
> Kamera wideo Sony, 5000 zl
> wygraj w konkursie eMarketu i Onet.pl [ http://konkursy.onet.pl/emarket ]
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to