ApolloCacheHeaders
object ApolloCacheHeaders
A collection of cache headers that Apollo's implementations of NormalizedCache respect.
Properties
Link copied to clipboard
When true, missing fields from the cache should result in an exception.
Link copied to clipboard
The current date, as the number of seconds since the epoch.
Link copied to clipboard
Records from this request should not be stored in the NormalizedCache.
Link copied to clipboard
True if field errors are allowed to replace cached values.
Link copied to clipboard
Link copied to clipboard
The value of this header will be stored in the Record's expiration date.
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.
Link copied to clipboard
When true, GraphQL errors in the cache should be treated as cache misses.
Link copied to clipboard
When true, NormalizedCache.merge skips merging records with the existing ones, instead, they are inserted as-is.