* Brad Bowman <template at bowman.bs> [2003-10-07 08:24]: > The mod_perl guide has advice for loading CGI & DBI at > apache startup time to improve memory sharing. > > Does anyone have a similar snippet for TT2?
Since version 2.55 (last November), Template.pm will preload all the TT2
modules if it detects $ENV{MOD_PERL}. This means that a simple
PerlModule Template
In your httpd.conf will compile all the TT2 modules in the parent
process. You can also explicitly call Template::Config->preload() if
you want.
(darren)
--
There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the
other way is to make it so complicated that there are no obvious
deficiencies.
-- C.A.R. Hoare
pgp00000.pgp
Description: PGP signature
