On 21.7.2011 18:41, Perrin Harkins wrote:
So I was looking a solution and found ModPerl::RegistryLoader. I'm just not
sure I understand it completely. Is this the "compile once at startup"
solution?
Yes, that's what it's for.
Thanks, so I'm on correct track
Do I just put " my $rlbb = ModPerl
2011/7/21 Jiří Pavlovský :
> So I was looking a solution and found ModPerl::RegistryLoader. I'm just not
> sure I understand it completely. Is this the "compile once at startup"
> solution?
Yes, that's what it's for.
> Do I just put " my $rlbb = ModPerl::RegistryLoader->new();" into
> my startup
I don't know about ModPerl::RegistryLoader, but the simplest solution is just
to "preload" the interpreters either manually or through a script whenever you
restart Apache. In your httpd.conf file, you control how many interpreters are
running and how many hits each interpreter handles before re
Hello,
The documentation for "ModPerl::Registry" states: "Note that each httpd
process or "child" must compile each script once, so the first request
to one server may seem slow, but each request there after will be
faster. If your scripts are large and/or make use of many Perl modules,
this