method

new

new(value, compressed: false, version: nil, expires_in: nil, expires_at: nil, **)
public

Creates a new cache entry for the specified value. Options supported are :compressed, :version, :expires_at and :expires_in.