Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: startup.pl mod_perl question

Quote Reply
Re: startup.pl mod_perl question In reply to
Hi!

That's fine. The only additions I would suggest are:

use CGI qw/-compile :all/;

which will preload the CGI modules with all methods compiled.

Also, if you want even better performance, investigate Apache::RegistryLoader which will precompile all your .cgi scripts as well. This can be useful as it can reduce memory usage, but in terms of performance, it doesn't offer too much as the script is only compiled once per new httpd child (they should stay around for thousands of requests).

Hope that helps,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread startup.pl mod_perl question CyberLuke 4471 Sep 5, 2000, 12:44 PM
Thread Re: startup.pl mod_perl question
pugdog 4357 Sep 5, 2000, 1:44 PM
Thread Re: startup.pl mod_perl question
CyberLuke 4344 Sep 5, 2000, 2:24 PM
Thread Re: startup.pl mod_perl question
Alex 4307 Sep 9, 2000, 10:56 AM
Thread Re: startup.pl mod_perl question
pugdog 4308 Sep 9, 2000, 4:19 PM
Post Re: startup.pl mod_perl question
Alex 4283 Sep 9, 2000, 4:44 PM
Post Re: startup.pl mod_perl question
Alex 4288 Sep 9, 2000, 4:45 PM