Tyk · JSON Structure

Tyk Gateway Cache Options Structure

Type: object Properties: 7
API GatewayAPI ManagementGraphQLOpen Source

CacheOptions 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

cache_all_safe_requests cache_by_headers cache_control_ttl_header cache_response_codes cache_timeout enable_cache enable_upstream_cache_control

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

JSON Structure

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