mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-31 08:40:19 +08: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:
parent
2049066cff
commit
d755f7ca19
@ -122,8 +122,8 @@ class CacheProvider(ABC):
|
|||||||
Return False to skip external caching for this node.
|
Return False to skip external caching for this node.
|
||||||
|
|
||||||
Common filters:
|
Common filters:
|
||||||
- By class_type: Only expensive nodes (KSampler, VAEDecode)
|
- By class_type: Only cache expensive nodes (KSampler, VAEDecode)
|
||||||
- By size: Skip large values to reduce network overhead
|
- By cost/benefit: Skip if download time > compute time
|
||||||
|
|
||||||
Default: Returns True (cache everything).
|
Default: Returns True (cache everything).
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user