|Keep It Simple, Stupid|
Re: including a package - time issueby misc (Pilgrim)
|on Aug 27, 2007 at 10:23 UTC||Need Help??|
You should probably have a look at modperl.
There's also a book available for free: http://modperlbook.org/
Modperl will compile your perl scripts only once, and answer all requests with the already compiled scripts.
To go more into the details:
It's hard to say what needs 3 seconds, without having more data/the code.
I could think of:
However, all of the points above could be solved with modperl,
the database connection could also easily be made persistent.(Apache::DBI)