Design System
← Raymond Pham

01. Foundations/Lesson 1 of 3

How a Request Travels

Follow one page load hop by hop — and find out where the time really goes.

  • 10 min
  • Beginner
  • 10 steps
DNS lookup—
Connect—
Request + server—
Download—
Total—
https://shop.exampleyou
In this lessonStep 1 of 10
Step 1 / 10Problem

Users say the shop feels slow

Before you can make something faster, you need to know where the time goes. So let's follow a single page load.

You type shop.example and press Enter. About a sixth of a second later the page appears. A lot happens in between.

What changed

  • +you

←→ step · R replay · Space pause

You’ll learn

  • What DNS does and why its answers are cached
  • Why a connection costs round trips
  • The path: browser → server → database → back
  • Where page-load time actually goes
  • Cases: a slow query and a distant user