ApolloCacheHeaders

A collection of cache headers that Apollo's implementations of NormalizedCache respect.

Properties

Link copied to clipboard
const val DO_NOT_STORE: String

Records from this request should not be stored in the NormalizedCache.

Link copied to clipboard

Records from this request should be evicted after being read.

Link copied to clipboard

The value of this header will be stored in the Record's expiration date.

Link copied to clipboard
const val MAX_STALE: String

How long to accept stale fields

Link copied to clipboard

Records should be stored and read from the MemoryCache only.

Link copied to clipboard

The value of this header will be stored in the Record's received date.