method
combined_fragment_cache_key
v8.0.0 -
Show latest stable
- Class:
AbstractController::Caching::Fragments
combined_fragment_cache_key(key)public
Given a key (as described in `expire_fragment`), returns a key array suitable for use in reading, writing, or expiring a cached fragment. All keys begin with `:views`, followed by `ENV[“RAILS_CACHE_ID”]` or `ENV[“RAILS_APP_VERSION”]` if set, followed by any controller-wide key prefix values, ending with the specified `key` value.