Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cache connectors

The config fields of a cache connector, which backs Redis or in-process memory.

Key-value storage for lookups, session state, and temporary data, through cache_read / cache_write.

{
  "name": "session-cache",
  "connector_type": "cache",
  "config": {
    "type": "cache",
    "backend": "redis",
    "url": "env://REDIS_URL"
  }
}
FieldTypeRequiredDefaultDescription
backendstringyes"redis" or "memory"
urlstringRedis onlyRedis connection URL, carrying credentials when needed: redis://user:pass@host:6379. Ignored for "memory"
allow_private_urlsbooleannofalseAllow private and internal IP addresses (SSRF protection). Ignored for "memory", which opens no socket
operationsobjectnoall allowedread / write — see Operation gates

TTL is set per write, through cache_write’s ttl_secs. There is no connector-level default.

Last verified 14 September 2026