← All courses

Course / 9 modules

Debugging Web Performance

A nine-module course on finding why a page is slow in the browser: field data, traces, loading, taps, rendering, scripts, memory and budgets.

After this course, you can

  • Take a slow page you’ve never seen and say why it’s slow
  • Follow it from real users’ data to a trace, fix the cause and confirm the fix with the same users
  • Keep the site fast with performance budgets, Lighthouse CI and alerts on real-user data

It’s free, like everything on Stay Online.

Who it is for

Developers who have shipped web apps for years and opened the browser’s developer tools many times, but have rarely read a performance trace from start to end.

  • You know HTTP caching, the event loop at the level of tasks and callbacks, and percentiles from server monitoring
  • The course teaches a way to debug, not a list of fixes: measure on real users, reproduce the problem in a lab, read the trace, name the cause, change one thing and measure again
  • It covers the browser side and stops at time to first byte; server-side profiling is not in it

How it works

  • Nine long modules continue the TinyTickets story: the seat map froze on phones during a stadium sale while the dashboards stayed green, and Maya has to find out why
  • Each module opens on what buyers saw, then measures it, reads the trace, and fixes one cause at a time with a number before and after
  • Each module ends with a lab of about 15 minutes, a debugging scenario, review questions with hidden answers, and a cheat sheet, and describes the free online tools for its step
  • The lab app is a small Node.js server with plain HTML pages: a show page, a 60,000-seat map, a waiting page and checkout, plus fake third-party scripts
  • You need Chrome, Node.js and a text editor; the course code is in the course repository, with one folder per module

Outline

9 modules, read in order