Delete all cache

Is it possible to delete all rails cache? how? 'rake tmp:clear' doesn't work.

config/envinroments/production.rb: ... config.cache_store =:file_store, 'tmp/cache/' ...

tmp/cache is empty, but page is still cached.

Page cache is standard behaviour of “production” environment. Well, I suggest you to change the environment to “development”.

Is it possible to delete all rails cache? how? 'rake tmp:clear' doesn't work.

config/envinroments/production.rb: ... config.cache_store =:file_store, 'tmp/cache/' ...

tmp/cache is empty, but page is still cached.

Are you sure it is not your browser that is caching it?

Colin

Quoting Luk Mus <lists@ruby-forum.com>:

Is it possible to delete all rails cache? how? 'rake tmp:clear' doesn't work.

config/envinroments/production.rb: ... config.cache_store =:file_store, 'tmp/cache/' ...

Try restarting the Rails server, Webrick, Apache, whatever.

HTH,   Jeffrey

Sweepers:

If you do just want to blow away everything, you can iterate through the keys in the cache store and explicitly delete each one. Probably not necessary though. If the problem you're having is with static assets, the other comment about this being a client-side caching issue might be valid.