EasyUse/Logicgenerated

Clear Cache Key(clearCacheKey)

The Clear Cache Key node removes a cached value associated with a specified key from the Easy-Use logic cache, then passes the anything input through unchanged....

clear Cache Key

anything
output
cache_key
*
Easy Use

The Clear Cache Key node removes a cached value associated with a specified key from the Easy-Use logic cache, then passes the anything input through unchanged. It is grouped under EasyUse/Logic and is typically used to invalidate stale cached data so that downstream nodes recompute on the next execution.

Inputs

  • anything (ANYTYPE, required): Any value or data stream. This input is not modified; it is forwarded to the output unchanged, allowing the node to be inserted into an existing connection without disrupting the data flowing through it.
  • cache_key (STRING, required, default "*"): The key identifying the cached entry to clear. The default value * clears all cached entries, so leaving it unset acts as a broad cache reset.

Outputs

  • ANYTYPE: The same value received by the anything input, unchanged.

Usage Notes

  • Use a specific cache_key to clear only the data associated with that key, leaving other cached entries intact.
  • Use the default * when you want to clear the entire cache; this may cause nodes that depend on cached results to recompute on their next run.
  • Because the anything input is passed straight through, the node can be placed anywhere in a workflow to trigger cache invalidation without affecting the data being passed along.

Comments

Sign in with GitHub to join the discussion.

Loading comments…