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 via http://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Page cache is standard behaviour of "production" environment. Well, I suggest you to change the environment to "development". On Tue, Oct 25, 2011 at 11:46 AM, Luk Mus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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 via http://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 25 October 2011 05:46, Luk Mus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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.Are you sure it is not your browser that is caching it? Colin> > -- > Posted via http://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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- gplus.to/clanlaw -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Quoting Luk Mus <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> 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 -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.