EasyUse/Logicgenerated
Clear Cache All(clearCacheAll)
The Clear Cache All node from ComfyUI-Easy-Use is a logic utility that clears all cached data when the graph reaches it.
clear Cache All
anything
output
Easy Use
Description
The Clear Cache All node from ComfyUI-Easy-Use is a logic utility that clears all cached data when the graph reaches it. It belongs to the EasyUse/Logic category and acts as a pass-through: the input value is returned unchanged, so the cache-clearing action can be inserted into any data flow without altering that flow.
Inputs
- anything (
ANYTYPE, required): Accepts a value of any type. The value itself is not changed or consumed; the connection exists so the node can be placed at a controlled point in the workflow and execute only when an upstream node has produced data.
Outputs
- ANYTYPE: The same value that was passed to
anything. The data type and content are preserved exactly.
Usage Notes
- This node has no widgets or configuration options.
- Connect an upstream output to
anythingto trigger the cache clear. If nothing is connected, the node will not execute. - To use it without changing a workflow, place it between the node that produces a value and the node that would normally receive that value.
- The output can be left unconnected if the only goal is to perform the cache clear.
- Since it clears the entire cache, avoid running it unnecessarily often; doing so may force work to be recomputed that would otherwise have been served from cache.
Comments
Sign in with GitHub to join the discussion.