cacheControl
Controls GraphQL response cache behaviors of a field or object.
@see Using Schema directive @cacheControl
directive @cacheControl(
maxAge: Int
scope: CacheControlScope
) on
| FIELD_DEFINITION
| OBJECT
Arguments
cacheControl.maxAge
● Int
scalar references
Number of seconds to cache the item.
cacheControl.scope
● CacheControlScope
enum references
Cache control scope to apply to the item.