Ruby on Rails Friday, October 28, 2011

Sweepers:
http://guides.rubyonrails.org/caching_with_rails.html#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.

On Oct 24, 9:46 pm, Luk Mus <li...@ruby-forum.com> wrote:
> 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.
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment