Tyk · JSON Structure

Tyk Gateway Cache Structure

Type: object Properties: 7
API GatewayAPI ManagementGraphQLOpen Source

Cache is a JSON Structure definition published by Tyk, describing 7 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

cacheAllSafeRequests cacheByHeaders cacheResponseCodes controlTTLHeaderName enableUpstreamCacheControl enabled timeout

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "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"
    }
  }
}