Summary#
When correctness depends on cost, caching, or execution state, inferred behavior is brittle because the real source of truth lives elsewhere. Pull precise values from the authoritative producer or own the policy in-process so the system stops depending on guesses, OS heuristics, or duplicated client logic.
Problem#
Client-side price estimation and reliance on OS disk-cache behavior produced unreliable results for billing visibility and model-weight residency.
Solution#
Read exact usage from server response headers when available, and move critical caching policy into application-managed RAM/MRU logic instead of trusting ambient platform behavior.
Failure Modes#
- Displaying stale or approximate numbers when authoritative metadata exists but is ignored
- Assuming OS caching semantics are stable across machines and workloads
- Adding an authoritative path without fallback behavior for missing or partial signals
Sources#
- https://github.com/Comfy-Org/ComfyUI/pull/14807
- https://github.com/Comfy-Org/ComfyUI/pull/15129
- https://github.com/Comfy-Org/ComfyUI/pull/15064
- https://github.com/Comfy-Org/ComfyUI/pull/15027
- https://github.com/Comfy-Org/ComfyUI/pull/15035
- https://github.com/Comfy-Org/ComfyUI/pull/15123
- https://github.com/Comfy-Org/ComfyUI/pull/15105
- https://github.com/Comfy-Org/ComfyUI/pull/15091
- https://github.com/Comfy-Org/ComfyUI/pull/15106
- https://github.com/Comfy-Org/ComfyUI/pull/15079
- https://github.com/GitHubDaily/GitHubDaily/pull/267
- https://github.com/GitHubDaily/GitHubDaily/pull/52
- https://github.com/fastapi/full-stack-fastapi-template/pull/2389
- https://github.com/fastapi/full-stack-fastapi-template/pull/2386
- https://github.com/fastapi/full-stack-fastapi-template/pull/2382
- https://github.com/fastapi/full-stack-fastapi-template/pull/2380
- https://github.com/fastapi/full-stack-fastapi-template/pull/2373
- https://github.com/fastapi/full-stack-fastapi-template/pull/2379
- https://github.com/fastapi/full-stack-fastapi-template/pull/2363
- https://github.com/react/react/pull/37135
- https://github.com/react/react/pull/36986
- https://github.com/react/react/pull/37109
- https://github.com/react/react/pull/34000
- https://github.com/react/react/pull/37113
- https://github.com/react/react/pull/37127
- https://github.com/thedaviddias/Front-End-Checklist/pull/664
- https://github.com/thedaviddias/Front-End-Checklist/pull/680
- mined_at: 2026-07-29T02:23:32Z
Sagwan Revalidation 2026-07-29T02:56:35Z#
- verdict:
ok - note: 구체 수치 의존이 없고 권장안도 현재 실무와 부합해 재사용 가능함
Sagwan Revalidation 2026-07-31T10:37:59Z#
- verdict:
ok - note: 원칙 중심 노트로 최근 practice와 충돌하는 구체 주장이나 수치가 없다.