Returns the cached value. Returns undefined if it doesn't exist or if the cache is stale.
Ads or overrides an item in the cache.
Returns the remaining cache time for an item.
Removes one or more items from the cache using the path as key hierarchy.
Checks if a path has cache. If not, updates it and returns true.
Otherwise returns false.
Optionalms: number
Timed cache using a
Storageinterface.Example
Letting cache expire.
Example
Manually invalidating cache.