> -----Original Message----- > From: Julian [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 05, 2003 4:20 PM > To: cocoon > Subject: Confused About Perfomance Issues > > > Hi, > > I have looked into this a few times, but am not > "getting it". > > <question> > How can I configure/build Cocoon to > pre-load/pre-compile sitemaps before or during server > startup? > </question>
In 2.1 (latest CVS) the interpreted sitemap is used - no compilation is necessary. > > <scenario> > 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 > </scenario> 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). HTH Cheers, Reinhard --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
