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 input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Sep 17, 2024
prioritizeMillislongyes PreviewPrioritize caching segments newer than this.