Topic: How to clear cache when file changed with fastcgi?

Hi,

I am using fastcgi + apache + ruby for my project. Everything is working fine. But when I changed any source files in the project, I have to restart my web server. Otherwise I won't be able to see the effect. Is there a way to automatically clear the cache when my files changed?

Re: How to clear cache when file changed with fastcgi?

Anyone has an idea?

Re: How to clear cache when file changed with fastcgi?

Kill the fastcgi instances. So that next time it will spawn the new instances and it will reflect changes.

killall -9 dispatch.fcgi