module CacheRocket::Key

Public Instance Methods

cache_replace_key(key) click to toggle source

string key containing the partial file name or placeholder key. It is a tag that should never be returned to be rendered by the client, but if so, it will be hidden since CRK is not a valid html tag.

# File lib/cache_rocket/key.rb, line 8
def cache_replace_key(key)
  "<crk #{key}>".html_safe
end