services/api_cache_store_web library
Classes
- IndexedDbApiCacheStore
-
Two object stores:
answers, keyed by the request key with an index on the save time for prune, andmeta, which holds the owner.
Functions
-
persistentStore(
String name) → ApiCacheStore -
The web keeps its answers in IndexedDB, which holds far more than
localStorageand does not block the page while it reads.