search for: fragment_key

Displaying 1 result from an estimated 1 matches for "fragment_key".

2006 Jan 23
2
Action Cache upgrade plugin
...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 ''response.time_to_l...