Tyk · Schema

CacheOptions

API GatewayAPI ManagementGraphQLOpen Source

Properties

Name Type Description
cache_all_safe_requests boolean
cache_by_headers array
cache_control_ttl_header string
cache_response_codes array
cache_timeout integer
enable_cache boolean
enable_upstream_cache_control boolean
View JSON Schema on GitHub

JSON Schema

tyk-gateway-cache-options-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CacheOptions",
  "type": "object",
  "properties": {
    "cache_all_safe_requests": {
      "type": "boolean"
    },
    "cache_by_headers": {
      "type": "array"
    },
    "cache_control_ttl_header": {
      "type": "string"
    },
    "cache_response_codes": {
      "type": "array"
    },
    "cache_timeout": {
      "type": "integer"
    },
    "enable_cache": {
      "type": "boolean"
    },
    "enable_upstream_cache_control": {
      "type": "boolean"
    }
  }
}