Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I clear the cache of Ruby Phusion Passenger in Ubuntu?

I've tried restarting apache and the cached pages still appear, so there must be a folder someplace. I don't have a 'public/cache', so what other places should I look? Is there a URL flag that could trigger this effect as well?

like image 286
Adam Avatar asked Jan 24 '23 02:01

Adam


2 Answers

You need to touch a file to have phusion clear out, like:

touch /webapps/mycook/tmp/restart.txt

See the docs

like image 103
johnp Avatar answered Jan 29 '23 07:01

johnp


I'm in development mode.

I discovered I had to restart the apache service and clear the browser cache to get my changes to appear 100% of the time.

like image 31
Adam Avatar answered Jan 29 '23 06:01

Adam