ComfyUI Node
SP_CacheRouter
Routes execution based on whether cache exists.
SP_CacheRouter
- if_cached_flow
- if_not_cached_flow
- routed_output
- status
◄keydefault_key►
◄cache_directorysp_node_cache►
CategorySP-Nodes/cache/logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| key | STRING | default_key | — |
| cache_directory | STRING | sp_node_cache | — |
| if_cached_flowopt | * | Evaluated and passed ONLY if the cache EXISTS. | |
| if_not_cached_flowopt | * | Evaluated and passed ONLY if the cache is MISSING. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| routed_output | * | — |
| status | STRING | — |