cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <>
Subject Re: Confused About Perfomance Issues
Date Tue, 05 Aug 2003 14:41:22 GMT
Reinhard Pötz wrote:
>>-----Original Message-----
>>From: Julian [] 
>>Sent: Tuesday, August 05, 2003 4:20 PM
>>To: cocoon
>>Subject: Confused About Perfomance Issues
>>I have looked into this a few times, but am not
>>"getting it".
>>How can I configure/build Cocoon to
>>pre-load/pre-compile sitemaps before or during server
> In 2.1 (latest CVS) the interpreted sitemap is used - no compilation is
> necessary.
>>Every time my server is restarted Cocoon takes about
>>8-10 secs. to respond to requests to a given sitemap. 
>>I believe this is sitemap compilation.  I have a few
>>sitemaps so this causes some serious lag time, albeit
>>on first request...afterwards all responds quickly.
>>jre 1.4.1, Cocoon CVS version, Tomcat 4.1.12
> It's not only the sitemap - Cocoon initialized many components and this
> needs some time at startup. It also takes some time to compile XSP pages
> (in the case you use them).

And this time can be reduced by eliminating all unused components. 
First, start by building without unused blocks.  Second, edit your 
sitemaps to remove any unused sitemap components (e.g., Generators 
you'll never use).  If things are still not noticeably better, examine 
cocoon.xconf and cocoon.roles for components you expect to never need. 
This last step is a little more advanced.

If there are any questions about what a component is/does ask here or on 
the dev list.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message