cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: xsl include and performance
Date Wed, 06 Jun 2001 02:40:46 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message