cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [C2] Precompiled sites
Date Wed, 21 Feb 2001 18:19:14 GMT
Davanum Srinivas wrote:
> 
> Berin,
> 
> How do i pre-compile a site? Can you post the procedure?

Yeah, I'm curious as well.

Also, I believe it would be a total win for Cocoon2 to be able to
generate a 'fully precompiled' site. Not only compiled bytecode, but
also compiled XML. It's pretty easy to come up with a SAX parser wrapper
that understands if the XML is compiled or not. (just check for the
first bytes to be "XMLC10", 'C' for 'compiled') this will reduce parsing
time and improve performance.

But gives us another big win: production sites are untouchable!!!

In many situations, production sites are 'touched' and modified without
back-porting the changes to the development trunk, this normally creates
friction and overhead. By proposing a good practice of "build site" that
generates the full 'war with precompiled everything' that can be
deployed and forgotten.

A great thing would be to precompile the sitemap as well.

Oh, well, just food for thought.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



Mime
View raw message