lib/cache_rocket/key.rb
# frozen_string_literal: true
module CacheRocket
module Key
# 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.
def cache_replace_key(key)
"<crk #{key}>".html_safe
end
end
end