mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-30 21:19:53 +00:00
docs: clarify should_cache filtering criteria
Change docstring from "Skip large values" to "Skip if download time > compute time" which better captures the cost/benefit tradeoff for external caching. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -122,8 +122,8 @@ class CacheProvider(ABC):
|
||||
Return False to skip external caching for this node.
|
||||
|
||||
Common filters:
|
||||
- By class_type: Only expensive nodes (KSampler, VAEDecode)
|
||||
- By size: Skip large values to reduce network overhead
|
||||
- By class_type: Only cache expensive nodes (KSampler, VAEDecode)
|
||||
- By cost/benefit: Skip if download time > compute time
|
||||
|
||||
Default: Returns True (cache everything).
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user