You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2006/03/01 16:10:33 UTC

[DAISY] Comment added to Why does Cocoon take so long to start?

A comment has been created.

http://cocoon.zones.apache.org/daisy/documentation/800.html

Document ID: 800
Name: Why does Cocoon take so long to start?
Branch: main
Language: default

Created by: Ellis Pritchard
Created on: 3/1/06 3:10:28 PM
Visibility: public

I thought the sitemap was parsed these days? It used to be compiled, but I think Sylvian re-wrote it to make it faster.

The real reason is all the class loading, object creation and dynamic configuration that goes on when cocoon.xconf is read. Each sitemap is then lazily loaded only when a request is made for a path prefix it matches.

To make Cocoon startup faster, suggest removing unnecessary blocks using a local.blocks.properties file when building, which will remove unused block jars from WEB-INF/lib and their supporting configuration from cocoon.xconf.