DefaultFetchPolicyInterceptor

val DefaultFetchPolicyInterceptor: ApolloInterceptor

An interceptor that emits the response from the cache first, and if there was a cache miss, emits the response(s) from the network.

This is the default cache policy interceptor.

If noCache is set to true, the cache is skipped and the network response is emitted directly.

If onlyIfCached is set to true, no network request is made.