search for: expand_cache_key

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

2010 Apr 22
7
Making ActiveSupport::Cache consistent
...ires_in option to fetch and write for all caches. Cache entries are stored with the create timestamp and a ttl so that expiration can be handled independently of the implementation. * Add support for a :namespace option. This can be used to set a global prefix for cache entries. * Deprecate expand_cache_key on ActiveSupport::Cache and move it to ActionController::Caching and ActionDispatch::Http::Cache since the logic in the method used some Rails specific environment variables and was only used by ActionPack classes. Not very DRY but there didn''t seem to be a good shared spot and ActiveSuppo...