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, and meta, which holds the owner.

Functions

persistentStore(String name) → ApiCacheStore
The web keeps its answers in IndexedDB, which holds far more than localStorage and does not block the page while it reads.