Performance
Load and interaction budgets for pages built with this system, plus the image, font and script practices that keep a page inside them.
Load and interaction budgets for pages built with this system, plus the image, font and script practices that keep a page inside them.
Ask about your design system
Ask about components, tokens, and patterns — or request help building something new.
AI can make mistakes. Always verify important information.
Budgets
Performance is a design constraint, not a cleanup task. Agree the budget before the page is built, because most of the weight is decided at design time.
Measure against field data where possible. Lab tools run on a fast machine with a warm cache and flatter the result.
Images
Images are the largest slice of most pages.
widthandheight, or an aspect ratio. Missing dimensions are the most common cause of layout shift.loading="lazy". Never lazy-load the LCP image.fetchpriority="high"to the hero image so it is requested early.srcsetandsizesrather than one desktop-sized file.Fonts
font-display: swapso text is readable before the webfont arrives.JavaScript
CSS
transformandopacity. Animating layout properties forces reflow.@importin production CSS. It serialises requests.Third-party scripts
Third-party code is the most common reason a well-built page is slow.
Measuring