Tyk · Schema

Cache

API GatewayAPI ManagementGraphQLOpen Source

Properties

Name Type Description
cacheAllSafeRequests boolean
cacheByHeaders array
cacheResponseCodes array
controlTTLHeaderName string
enableUpstreamCacheControl boolean
enabled boolean
timeout integer
View JSON Schema on GitHub

JSON Schema

tyk-gateway-cache-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Cache",
  "type": "object",
  "properties": {
    "cacheAllSafeRequests": {
      "type": "boolean"
    },
    "cacheByHeaders": {
      "type": "array"
    },
    "cacheResponseCodes": {
      "type": "array"
    },
    "controlTTLHeaderName": {
      "type": "string"
    },
    "enableUpstreamCacheControl": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "timeout": {
      "type": "integer"
    }
  }
}