Intermediate → advanced curriculum

Master web performance

Eight modules, seven interactive labs, and a live Web Vitals HUD — built to make you dangerous at FCP, LCP, INP, CLS, and everything that supports them.

Core Web Vitals at a glance

TTFB Time to First Byte

Server response latency — how long until the first byte of HTML arrives.

≤ 800ms > 1800ms
FCP First Contentful Paint

When the first text or image is painted to the screen.

≤ 1800ms > 3000ms
LCP Largest Contentful Paint

When the largest visible content element finishes rendering.

≤ 2500ms > 4000ms
INP Interaction to Next Paint

Responsiveness — latency of interactions across the page lifetime (p98 of interactions).

≤ 200ms > 500ms
CLS Cumulative Layout Shift

Visual stability — sum of unexpected layout shift scores.

≤ 0.1 > 0.25

Curriculum

  1. 00
    Foundations & Mental Model

    Navigation lifecycle, critical rendering path, main thread, event loop, and perception budgets — the substrate everything else builds on.

    intermediate · 25 min
  2. 01
    The Metrics — Lab vs Field

    FCP, LCP, CLS, INP, TTFB, TBT — thresholds, percentiles, PerformanceObserver, and the web-vitals library.

    intermediate · 30 min
  3. 02
    Loading — TTFB, FCP & LCP

    Render-blocking resources, resource hints, fetchpriority, images, fonts, caching, and delivery architecture for fast first paint.

    advanced · 35 min
  4. 03
    Interactivity — INP & TBT

    Long tasks, LoAF, yielding with scheduler.yield, debouncing, workers, and hydration strategies.

    advanced · 40 min
  5. 04
    Visual Stability — CLS

    Layout shift sources, space reservation, fonts, embeds, transform-only motion, and bfcache interactions.

    advanced · 25 min
  6. 05
    Rendering & Runtime Performance

    Reflow, repaint, composite, layout thrashing, content-visibility, containment, and the 16ms frame budget.

    advanced · 30 min
  7. 06
    Measurement & Tooling

    DevTools Performance, Lighthouse, CrUX, RUM pipelines, performance budgets, and bundle analysis.

    advanced · 30 min
  8. 07
    Advanced Topics

    Speculation Rules, bfcache, streaming SSR, memory leaks, and build-time performance engineering.

    advanced · 35 min

How this site teaches perf

  • Zero JS by default — Astro ships static HTML for lessons
  • Islands only for labs — interactivity where you need it
  • Self-hosted variable fonts — with metric-adjusted system fallbacks
  • Live RUM on every page — the ◈ Vitals HUD uses web-vitals

Live on this page

TTFB
FCP
LCP
INP
CLS