method

new

new(value, options = {})
public

Create a new cache entry for the specified value. Options supported are :compress, :compress_threshold, and :expires_in.