Implements the stale-while-revalidate strategy: https://developers.google.com/web/fundamentals/instant-and-offline/offline-cookbook/#stale-while-revalidate
Presents a stale data from the cache and asynchronously fetch data from the fetcher, updating the cache once resolved.
type of the data to be cached.
Generated using TypeDoc
Implements the stale-while-revalidate strategy: https://developers.google.com/web/fundamentals/instant-and-offline/offline-cookbook/#stale-while-revalidate
Presents a stale data from the cache and asynchronously fetch data from the fetcher, updating the cache once resolved.