You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Jain, Abhay K, ALABS" <ja...@att.com> on 2005/03/02 15:37:28 UTC
Question about Files directive
I just compiled mod_perl 1.29 with apache. As I understand from
the documentation that with use of directive "Files", Apache caches the
perl cgi code so that on next invocation it does not to reparse it.
If I want to specify more than one cgi script to be cached, how
do I specify via Files directive.
Re: Question about Files directive
Posted by Markus Wichitill <ma...@gmx.de>.
Jain, Abhay K, ALABS wrote:
> I just compiled mod_perl 1.29 with apache. As I understand from
> the documentation that with use of directive "Files", Apache caches the
> perl cgi code so that on next invocation it does not to reparse it.
> If I want to specify more than one cgi script to be cached, how
> do I specify via Files directive.
mod_perl always caches everything it executes, whether you want it or not.
Files/Directory/Location blocks are just possible ways to specify what it is
supposed to execute.
Re: Question about Files directive
Posted by Sean Davis <sd...@mail.nih.gov>.
On Mar 2, 2005, at 9:37 AM, Jain, Abhay K, ALABS wrote:
> I just compiled mod_perl 1.29 with apache. As I understand from
> the documentation that with use of directive "Files", Apache caches the
> perl cgi code so that on next invocation it does not to reparse it.
> If I want to specify more than one cgi script to be cached, how
> do I specify via Files directive.
>
>
I don't think just a files directive will do it. You probably need to
read--it is worth the read:
http://perl.apache.org/docs/1.0/guide/porting.html
Sean