Rails rack cache - how to manually clear the entire cache

I cached the page through the cache cache, and now the browser never displays the updated page, since it shows the cached version.

How to clear the entire cache? (Note: I removed all cached pages from the rails_app_root / public directory). I even tried to disable the rack cache, but it still shows the cached version of the page.

any ideas?

+5
source share
1 answer

Try:

in terminal:

rake tmp:cache:clear

or in the rails console:

Rails.cache.clear
0
source

All Articles