S
dsh-cv-warm
suzunami/dsh-cv-warm
Skips offscreen transcript rendering with content-visibility and pre-warms blocks near the viewport so scrolling stays smooth.
설치
dsh plugin --profile web add github:suzunami/dsh-cv-warmREADME
dsh-cv-warm
Local-only DSH client plugin.
- Gives transcript markdown containers
content-visibility: auto+contain-intrinsic-size: auto 800px, so offscreen blocks skip layout and compositing. This is what makes session switches and streaming cheap on transcripts with thousands of KaTeX nodes. - Keeps a band of ~2 viewports around the scrollport switched to
content-visibility: visiblevia IntersectionObserver, so blocks are rendered before they scroll into view (removes the reveal hitch) and fall back toautoonce they leave the band (so nothing accumulates).
Verify: window.__cvWarm → { installed: true, blocks, warmed }
Disable: window.__cvWarm.off()