[rt-users] Question on clearing mason cache

Mike Friedman mikef at ack.berkeley.edu
Sat May 12 00:59:42 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 11 May 2007 at 11:28 (-0400), Jesse Vincent wrote:

>> Am I misunderstanding something, or is it the case that, if RT is 
>> running with mod_perl, the mason cache is automatically cleared on each 
>> apache restart, assuming I'm not running with 'DevelMode' on?  That's 
>> what the code in webmux.pl seems to be doing.
>> 
>> Over the years, I've seen many comments reminding someone to clear the 
>> mason cache in addition to restarting RT, when making certain kinds of 
>> changes.  But now I'm wondering about this, at least in a mod_perl 
>> environment.
>> 
>
> In a mod_perl environment, this _should_ be taken care of automatically. 
> In a FastCGI environment, we can't do it this way or each new fastcgi 
> that started would blow away the cache...right out from under the other 
> processes.

Jesse,

Thanks for confirming this.  It's good to know I shouldn't ever have to 
clear the cache manually (where I'm using mod_perl).

I guess a lot of folks run with FastCGI, judging from the comments (here 
and in various places in the wiki) about manually clearing the cache. 
I've never seen such a comment qualified by "unless you're using 
mod_perl").

Mike

_________________________________________________________________________
Mike Friedman                        Information Services & Technology
mikef at ack.Berkeley.EDU               2484 Shattuck Avenue
1-510-642-1410                       University of California at Berkeley
http://socrates.berkeley.edu/~mikef  http://ist.berkeley.edu
_________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBRkVJwa0bf1iNr4mCEQJMtwCeIfygQejT4WyPBrPrN2Dje/mhQI4Anitd
7iPr1OcGeoTuAAX/OC4s4wjm
=CbVa
-----END PGP SIGNATURE-----



More information about the rt-users mailing list