Memory Cache Store
memory-cache-store · Nodes · Data
Stores a value in the workflow memory cache.
Memory Cache Store#
Process-local, per-workspace memory cache read/write node.
Inputs#
input— required. Used as the value for writes and as interpolation context for reads.
Outputs#
output— written input, cached value, orUndefinedon read miss.
Config#
operation—writeorread.namespace— lowercase letters, digits, dashes, 1-127 chars.key— key template. Supports{{ input.foo }}. Final key must match the same lowercase/dash rules.time_to_idle_seconds— 60-900.time_to_live_seconds— 60-900, must be >= idle.
Binary values may be cached. Binary values cannot be interpolated into keys.
The cache is capped at 15 MiB per workspace. Writes fail if the cap would be exceeded.
Null keeps normal workflow skip semantics. Undefined from a read miss is emitted and downstream nodes still run.
Inputs
inputRequired
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
operation | enum(read, write) | No | Read from or write to the memory cache |
namespace | string | No | Cache namespace, lowercase letters, digits, and dashes |
key | string | No | Cache key template. Final value must be lowercase letters, digits, and dashes |
time_to_idle_seconds | integer | No | Seconds before an idle cache entry expires |
time_to_live_seconds | integer | No | Maximum seconds a cache entry may live |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |