# Memory Cache Get Or Compute

Process-local, per-workspace memory cache node with an embedded compute body.

## Inputs

- `input` — required. Used for key interpolation and passed into the compute body on miss.

## Outputs

- `output` — cached value or newly computed value.
- `compute` — connect to the first node in the compute body. Runs only on cache miss.

## Config

- `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.

Concurrent misses for the same workspace/namespace/key share one compute reservation. Waiters receive the computed value.

Binary values may be cached. Binary values cannot be interpolated into keys.

The cache is capped at 15 MiB per workspace. Computes fail if storing the result would exceed the cap.

`Null` compute output fails because it would stop propagation. `Undefined` compute output is valid and cached.
