December 2002
Intermediate to advanced
496 pages
9h 40m
English
One immediate benefit of mod_perl is to cache the compilation of CGI programs. They are compiled once and thereafter executed from memory, hence the speed of these programs increases substantially. Now we can use the benefits of mod_perl to execute our current CGI programs as they are written. The good news is that the CGI programs do not need to be modified—all it takes is an Apache configuration change.
There are two approaches to using mod_perl to run CGI programs: Apache::Registry and Apache::PerlRun.
The beauty of the Apache::Registry module is that it takes plain-Jane CGI programs, like those written in Chapter 7, and automatically makes them mod_perl programs by compiling ...
Read now
Unlock full access