Web Development
Interaction to Next Paint: Profiling and Fixing Slow Interactions
A practical walkthrough of measuring Interaction to Next Paint and the concrete techniques for cutting down long input handlers that cause it.
3 min read
Tag
4 articles
A practical walkthrough of measuring Interaction to Next Paint and the concrete techniques for cutting down long input handlers that cause it.
How srcset and sizes let the browser pick the right image resolution automatically, and how to layer AVIF and WebP on top with picture and source.
A walkthrough of how browsers turn a style change into pixels on screen, and why some CSS properties are far cheaper to animate than others.
How Cache-Control directives and ETags interact with browser and CDN caches, and where each layer disagrees in ways that cause stale content bugs.