pub const STORE_VAR: &str = "CACHE_STORE";Expand description
Name of the Worker variable choosing the cache store: CACHE_STORE.
"kv" (or no variable) stores values in the CACHE KV namespace;
"null" turns caching off without code changes (Rails’ :null_store):
fetch and fragment always compute, read finds nothing,
write and delete do nothing, and no KV operation is
made. Set it in .dev.vars (CACHE_STORE=null) to develop without the
cache, like Rails’ bin/rails dev:cache; any other value is an
Error::Internal naming the two valid ones.
§Examples
assert_eq!(ocre::cache::STORE_VAR, "CACHE_STORE");