Web Performance Roadmap: Start Here (2 hours / 1 day / 1 week)
A guided entry point into the Web Performance roadmap with curated paths (2 hours / 1 day / 1 week) + exactly what to measure and why it matters in interviews.
On this page
If you’re preparing for frontend interviews (or you’re owning performance for a real production app), you don’t need 50 random tips.
You need a sequence:
- Know what to measure (and what “good” looks like)
- Find the bottleneck (don’t guess)
- Fix the critical path (LCP) and interaction path (INP)
- Re‑measure and keep guardrails
This page gives you the best path through the Web Performance roadmap.
Quick definitions (so you don’t get lost)
- LCP (Largest Contentful Paint): when the main content looks ready.
- INP (Interaction to Next Paint): how responsive the page feels when users click/type.
- CLS (Cumulative Layout Shift): how stable the layout is while loading.
A senior way to talk about performance is: “What’s the critical path for LCP?” and “What’s the hot path for interactions?”
Choose your path
Path A — 2 hours (highest ROI)
If you only have 2 hours, do these in order:
- #01 Core Web Vitals: The Mental Model (LCP, INP, CLS)
- #02 Performance Debugging Playbook (Chrome DevTools + Real Signals)
- #09 Next.js Performance (RSC, streaming, caching)
- #05 JavaScript Cost (hydration, long tasks, shipping less JS)
- #12 Web Performance Interview Pack (top 25 Q&A)
You’ll be able to answer most performance questions with confidence, and more importantly: you’ll have a debugging loop.
Path B — 1 day (solid interview prep)
Do Path A, plus:
- #03 Images for Performance (sizes, formats, priority, preload)
- #04 Fonts Without Regret (FOIT/FOUT, preload, CLS-safe loading)
- #06 Caching & CDNs (HTTP caching, validation, edge)
- #07 Rendering Pipeline (layout → paint → composite)
- #10 Measuring Performance (Lighthouse vs RUM, budgets)
Path C — 1 week (production-ready)
Do Path B, plus:
- #08 Third-Party Scripts (tag manager hygiene)
- #11 Performance Recipes (before/after case studies)
- #13 CSS Performance (containment, content-visibility)
- #14 Performance APIs (Long Tasks, Web Vitals, observers)
- #15 Offline & Service Workers (caching strategies)
What to measure (minimum setup)
If you’re interviewing, you should always be able to say:
- I measured it (not “I think it’s slow”)
- I located the bottleneck in DevTools
- I validated the fix (lab + field if possible)
Minimum metrics to track
- LCP and the LCP element (what actually became the LCP)
- INP (or at least long tasks + interaction delays)
- CLS
- TTFB (especially for SSR apps)
Minimum tooling
- Chrome DevTools: Performance + Network
- Lighthouse (lab) + a RUM signal (field) if possible
A senior debugging loop (copy/paste)
When someone says “this page is slow”, do this:
- Reproduce on a slower profile (CPU 4× / 6×, cache off on first run)
- Record a Performance trace while doing the real user action
- Find the first bottleneck:
- LCP blocked by TTFB, render-blocking, or late resource discovery
- INP blocked by long tasks, rerenders, or expensive handlers
- Fix in priority order:
- shorten the critical path
- ship less JS / reduce hydration
- reduce rerenders
- move work off the main thread
- Re‑measure and add a guardrail
Roadmap (1 → 15)
- #01 Core Web Vitals: The Mental Model
- #02 Performance Debugging Playbook
- #03 Images for Performance
- #04 Fonts Without Regret
- #05 JavaScript Cost
- #06 Caching & CDNs
- #07 Rendering Pipeline
- #08 Third-Party Scripts
- #09 Next.js Performance
- #10 Measuring Performance
- #11 Performance Recipes
- #12 Web Performance Interview Pack (25 Q&A)
- #13 CSS Performance
- #14 Performance APIs
- #15 Offline & Service Workers
What’s next after this roadmap?
If you finish these lessons, the next best “performance multiplier” skills are:
- React rendering fundamentals (rerenders, memoization, concurrency)
- Next.js architecture (RSC boundaries, caching, streaming)
- Observability (RUM + tracing + performance budgets)
Looking for structured, offline interview prep?
Free online lessons • Portable Amazon Kindle / Paperback
Frontend Interview Guide (2025 Edition)
By Rajesh Dhiman
Comprehensive preparation covering React internals, Web Performance, CSS architecture, and system design questions.
JavaScript Interview Guide
By Rajesh Dhiman
Deep dive into the Event Loop, microtask draining, closures, prototypal inheritance, and asynchronous execution patterns.
Note: All lessons on Frontend Interview remain completely free to read online. As an Amazon Associate, we may earn from qualifying purchases.
Written by Rajesh Dhiman
Authored by Rajesh Dhiman and engineered at Eunix Tech. Focused on deep-dive frontend engineering, JavaScript runtime internals, React architecture, and web performance.