configuring-lazy-prefetch
Installation
SKILL.md
Configuring Lazy Prefetch — Cache Window and Pausable Composition
Lazy layouts pre-compose items just outside the viewport so they're ready when the user scrolls.
Compose Foundation 1.9 added LazyLayoutCacheWindow for configurable ahead/behind extents. Compose
Foundation 1.10 made prefetch composition pausable by default — work spreads across multiple frames
instead of one. Most apps still rely on legacy single-frame prefetch and unknowingly pay for it
during heavy scrolling. This skill teaches Claude when (and only when) to widen the window or
implement nested prefetch, and how to validate the change with Macrobenchmark.