01
Performance
Defining user-centric metrics, shortening the critical rendering path, image and font loading strategies, tuning the network layer with headers, long tasks at runtime, and tying it all to a budget that catches regressions.
- 01 User-Centric Metrics Measuring a published interface's speed by the events the user perceives; the definitions of loading, interactivity, and visual stability metrics, computing a layout shift's score, and summarizing a distribution with percentiles.
- 02 Critical Rendering Path The resources first paint has to wait for; the distinction between render-blocking CSS and parser-blocking scripts, computing the round-trip count, and the markup patterns that remove blocking.
- 03 Image and Font Optimization Separating an image's transfer, decode, and paint costs; computing the correct file selection from a candidate set, deciding by format class, and the timeline of a font-loading strategy.
- 04 Network Performance Separating freshness from validation, measuring cache headers on a local server, the immutability promise of content-hashed names, and what connection hints actually earn.
- 05 Runtime Performance Measuring long tasks on the main thread with total blocking time, the measured effect of chunking work, layout thrashing scaling with row count, and ways to avoid painting what is not visible.
- 06 Performance Budget Tying performance decisions to a written limit; budget types, where the limit gets derived from, a program that checks build output against the budget, and catching regressions by comparing two builds.