Performance
Measuring first, then making pages and services faster where it counts.
2026
- Send analytics late with fetchLaterQueue a small analytics snapshot while the page is active, replace it on each click, and fall back to a beacon.
- Compare local and field INP in DevToolsCompare local INP with Chrome field data and check the page and device scope before reproducing a slow interaction.
- Boost the LCP image with fetchpriorityRaise the fetch priority of your LCP image, lower eager offscreen images, and compare their initial priorities in Chrome DevTools.
- Trace slow clicks with long animation framesUse Chrome’s Long Animation Frames API to locate the script behind a slow click and separate script time from rendering work.
2025
- Prerender next pages with speculation rulesUse a moderate speculation rule on a likely next link, then check whether Chrome activated the prerendered page.
- Break request chains with modulepreloadStart fetching a JavaScript module chain in parallel with modulepreload links and check the result in the Network panel.
- Reduce layout shift when fonts swapMatch a local fallback to your web font to reduce layout shift during font swaps.
- Never lazy-load your LCP imageFind the image that drives Largest Contentful Paint and measure how eager loading changes its request timing.
- Send 103 Early Hints before the HTMLStart CSS and font fetches during server think time by sending a 103 Early Hints response with Link preload headers from Node.
2023
- Choose useTransition or useDeferredValueUse useDeferredValue to defer a value you receive and useTransition to mark a state update you control as non-urgent.
- Find heavy dependencies with a Vite treemapAdd rollup-plugin-visualizer to a Vite build, read the treemap, and shrink the biggest rectangle by changing one import.