method

fragment_cache_key

Importance_1
v5.1.7 - Show latest stable - 0 notes - Class: Fragments
fragment_cache_key(key) public

Given a key (as described in expire_fragment), returns a key suitable for use in reading, writing, or expiring a cached fragment. All keys begin with views/, followed by any controller-wide key prefix values, ending with the specified key value. The key is expanded using ActiveSupport::Cache.expand_cache_key.

Show source
Register or log in to add new notes.