Foundations · Beginner · 10 min

How a Request Travels

Follow one HTTPS page load, watch its components join the diagram, and separate server work from network delay.

STEP 1 / 10
DNS lookup—
Connect—
Request + server—
Download—
Total HTMLNot started
Enter a web address — isometric concept diagramA page load is a sequence of distinct operations, not one jump from a browser to a database. Components: 1. Your browser. shop.example · the client. Connections: . Illustrations are conceptual, not deployed capacity or user counts.Your browser: shop.example · the client1Your browsershop.example · the client
1Your browser

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

1 component visible · Your browser highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • Explain the separate jobs of browser, DNS, origin and database.
  • Trace connection setup, the HTTP request and the returning HTML.
  • Distinguish the first HTML document from later CSS, script and image requests.
  • Use a timing breakdown to distinguish a slow query from a long network round trip.

PUT THE IDEA TO WORK

From learning to practice

RELATED PATTERNS

Client–Server ↗

Further reading

MDN · How the web works ↗