How can I remove the cache of my rails webapp ?
I'm going CRAZY !
How can I remove the cache of my rails webapp ?
I'm going CRAZY !
Running passenger with nginx, this was the only solution that worked for me. On the server, run:
passenger-config restart-app
See: https://www.phusionpassenger.com/library/admin/nginx/restart_app.html
Have you try this?
Rails.cache.clear
You maybe using some other cache store, if so rake tmp:cache:clear
will do nothing since no cached on the file system.
© 2022 - 2024 — McMap. All rights reserved.
touch tmp/restart.txt
from your rails app root to restart the passenger server. What issues are you experiencing? – Kannada