Network backend, cache store, read strategy, and optional stale-while-revalidate callback.
Execute a cached REST request.
GET requests are cacheable. Non-GET
requests bypass the cache for the write itself and
invalidate matching cached reads only after the write
succeeds.
Composes a network backend with an async cache store.
GETrequests use the configured RestCacheStrategy. Write requests are sent to the network backend first, then matching cached collection and entity entries are invalidated after successful writes.