[rt-users] Speed up mason cache generation

Ruslan Zakirov ruz at bestpractical.com
Mon Jun 4 11:53:58 EDT 2012


On Mon, Jun 4, 2012 at 7:27 PM, L B <bertignac at gmail.com> wrote:
> Ruslan,
>
> Well, that would consume quite a lot of brain CPU cycles. Maybe I try
> to solve a wrong problem and cleaning the mason cache with a rm -rf
> /opt/rt/var/mason/* is not the good approach.
>
> The need is simple: I (quite often) install/modify/remove extensions,
> or modify RT itself in local/ and I want to make sure I'm not misled
> by the mason cache. I remove all the cache and restart apache after a
> modification but the first clicks are quite longs, I was wondering if
> I could optimize that.

wget http://xxxx/?user=x&pass=y

Right after restart to hit RT instead of letting users to hit it.

Restart is only required when you touched libs or config.

> --
> L.B.

-- 
Best regards, Ruslan.



More information about the rt-users mailing list