class Sprockets::Cache

def expand_key(key)

Experimental RBS support (using type sampling data from the type_fusion project).

def expand_key: (String key) -> String

This signature was generated using 1 sample from 1 application.

Returns a String with a length less than 250 characters.

key - JSON serializable key

Memcache.
The String should be under 250 characters so its compatible with

Internal: Expand object cache key into a short String key.
def expand_key(key)
  digest_key = DigestUtils.pack_urlsafe_base64digest(DigestUtils.digest(key))
  namespace = digest_key[0, 2]
  "sprockets/v#{VERSION}/#{namespace}/#{digest_key}"
end