perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: Turning off caching
Date Thu, 04 Oct 2007 13:46:52 GMT

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 until
> 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