> Given the chocie of constructing the Template object once per child versus
constructing it in the apache root process (before forking) and letting it
be shared, is there any advantage of one approach over the other?

Theoretically, you might share a little more memory by doing it before the
fork, but in practice I found it was not a noticeable savings.  Definitely
load the Template modules from startup though.  I actually pull in all of
the ones I use, including plugins, to maximize sharing.

- Perrin



Reply via email to