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"
}
}
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
backend | string | yes | — | "redis" or "memory" |
url | string | Redis only | — | Redis connection URL, carrying credentials when needed: redis://user:pass@host:6379. Ignored for "memory" |
allow_private_urls | boolean | no | false | Allow private and internal IP addresses (SSRF protection). Ignored for "memory", which opens no socket |
operations | object | no | all allowed | read / write — see Operation gates |
TTL is set per write, through cache_write’s ttl_secs. There is no connector-level default.
Related
- Connector types: every type, and the shared blocks all of them carry.
- Task functions: the functions that call through a connector.
- Operation gates: the
operationsblock this type carries. - Definition and identity: the row the
configsits in.
Last verified 14 September 2026