Cache to store model related data, implemented with the Cache API.
Fetch data from url and add into cache. If already exists in cache, should return instantly.
This is an async function.
Optional
Delete the corresponding url object in cache
the corresponding url object to be deleted
fetch the corresponding url object in response or stored object format
url
the storage type for indexedDB
response in json, arraybuffer or pure response format
Determine if all keys exist in the cache
the url key list of the strings
boolean value indicate if all keys are in cache
Convert the Response object to the expected storetype instead
Generated using TypeDoc
Cache to store model related data, implemented with the Cache API.