You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Oskar Werewka <ow...@poczta.onet.pl> on 2001/06/05 20:22:31 UTC

xsl include and performance


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?

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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: xsl include and performance

Posted by Berin Loritsch <bl...@apache.org>.
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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>