perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Prime x443" <>
Subject RE: Turning off caching
Date Thu, 04 Oct 2007 14:06:37 GMT
You can't use it in or httpd.conf, but you could create a
PerlInitHandler that runs for the whole site (or part of it) and use it
in there.  At least that's another option.


-----Original Message-----
From: Geoffrey Young [] 
Sent: Thursday, October 04, 2007 9:47 AM
To: Ian G. Tyndall
Subject: Re: Turning off caching

Ian G. Tyndall wrote:
> I've got an existing cgi project that I was hoping to get some
> performance improvements from mod_perl. Everything was going great
> I ran into a caching issue. The script repeatedly performs the last
> action given regardless of the paramaters passed in.
> I've seen this:
> $r->nocache(1);
> But, how can I use it in my or in my httpd.conf?

you can't - the $r means it's a per-request thing, not a
lifetime-of-the-server thing

> If I can't do it in the, or the conf file, I would welcome
> any other recommendations.

see mod_expires:



View raw message