The
cache
function may be used to get values from the cache. If the given key does not exist in the cache, an optional default value will be returned: