On Fri, 2006-08-18 at 13:27 -0500, Frank Wiles wrote:
>   It doesn't precompile them, so you do take the first hit per template,
>   but not per apache child.  Because you can store a compiled version
>   of the template on disk where the other children can see it. 

To explain a bit further, there are two compilation steps.  The first
turns the template into a Perl sub.  This is the slowest part and it's
the part that is cached on disk.  The second part is when perl actually
compiles that generated code into memory.  That part has to happen once
in each child process, or in a startup.pl.  There is sample code for
doing it from startup.pl in the TT mail archive.

- Perrin

Reply via email to