CachePolicyInput is an input datatype for setting a cache policy. When determining the cache policy for a repository, the system first checks if there set on it. Then it checks the organization for one, and then the global setting.

This datatype is used by three other special input datatypes: SetGlobalDefaultCachePolicyInput, which is used by the setGlobalDefaultCachePolicy() mutation field; SetOrgDefaultCachePolicyInput, which is used by the setOrgDefaultCachePolicy() mutation field; and SetRepoCachePolicyInput, which is used by the setRepoCachePolicy() mutation field.

Table: CachePolicyInput

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Sep 17, 2024
prioritizeMillislongyes PreviewPrioritize caching segments newer than this.