search for: actioncachefilt

Displaying 2 results from an estimated 2 matches for "actioncachefilt".

Did you mean: actioncachefilter
2006 Jan 23
2
Action Cache upgrade plugin
...;'t cached in the original, all the clients would get is an empty ''200 OK'' response from subsequent requests) 5. Allow clients to provide their own implementation of the cache key for the actions, e.g. - environment.rb ActionController::Caching::Actions::ActionCacheFilter.fragment_key = Proc.new {|controller| "AC:#{controller.request.host_with_port}:#{controller.params.sort.join('' :'').gsub('' '', ''-'')}" } 6. Allow an action to specify a Time To Live for the cached item. Set ''res...
2008 Sep 24
3
caches_page :if not executing (but caches_action :if) does
Hi folks - Seeing a weird problem and would love some help. It''s documented in http://pastie.org/278310 to be more readable. In short, I have a caches_page "action", :if => {stuff} but the :if is never being called - the action is just caching every time. (If I put a debugger call in the :if block, it never stops.) If I replace caches_page with caches_action, the if