Contents

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, or Undefined on read miss.

Config#

  • operation — write or read.
  • 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

FieldTypeRequiredDescription
operationenum(read, write)NoRead from or write to the memory cache
namespacestringNoCache namespace, lowercase letters, digits, and dashes
keystringNoCache key template. Final value must be lowercase letters, digits, and dashes
time_to_idle_secondsintegerNoSeconds before an idle cache entry expires
time_to_live_secondsintegerNoMaximum seconds a cache entry may live
base_configrecordNoShared 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).