Nodes/ComfyUI-API-Optimizer/πŸ” Hash Vault (Check Cache)
ComfyUI Node

πŸ” Hash Vault (Check Cache)

A ComfyUI node in API Optimization with 6 inputs and 3 outputs.

By jeremieLouvaertΒ·Created 5 months agoΒ·Updated 4 months agoΒ· 2
πŸ” Hash Vault (Check Cache)
  • any_input
  • any_input_2
  • any_input_3
  • any_input_4
  • cached_data
  • is_cached
  • hash_key
β—„payload_stringβ€”β–Ί
β—„cache_ttl_hours0β–Ί
CategoryAPI Optimization

Inputs (6)

NameTypeDefaultDescription
payload_stringoptSTRINGPrompt, JSON params, or any STRING that should factor into the cache key. Optional β€” you can hash purely on any_input slots if you prefer.
any_inputopt*Any input to hash: image, latent, conditioning, or a converted widget (convert a downstream node's widget to input and wire it here). Content is hashed recursively.
any_input_2opt*Second any-type input. Use one slot per widget you want to factor into the cache key β€” e.g. image on any_input, style dropdown on any_input_2, strength float on any_input_3.
any_input_3opt*Third any-type input.
any_input_4opt*Fourth any-type input.
cache_ttl_hoursoptFLOAT00–8760Cache time-to-live in hours. 0 = never expires

Outputs (3)

NameTypeDescription
cached_data*β€”
is_cachedINTβ€”
hash_keySTRINGβ€”