mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-14 14:39:25 -03:00
Chrome does not cache 206 Partial Content responses for <video> elements without an explicit Cache-Control header. When VirtualScroller recycles cards and creates new <video> elements with the same URL, Chrome re-downloads the full video (several MB each) instead of using the cache. Verified via Chrome DevTools: same .mp4 URL appears 2-3 times in network trace as separate requests with no cache hit, each returning 206. With Cache-Control: max-age=86400, the browser will reuse the cached response for 24 hours across scroll cycles. Video preview files are ~3.5MB while image previews are ~50-100KB (due to WebP optimization), making caching especially impactful for videos.
4.3 KiB
4.3 KiB