How a web page gets from a name to a screen, and the browser rules that decide what a page may read. Short on time? Start with the quick revision page. Otherwise read the quick pages in order; each one links to its detailed version.

Reading order

  1. Quick revision: all of networking on one page, about 10 minutes.
  2. HTTP message: what a request and a response look like, methods and status codes. (detailed)
  3. Request lifecycle: what happens when you type a URL and press Enter. (detailed)
  4. DNS: turning shop.com into an IP address. (detailed)
  5. TCP and UDP: the reliable connection, the three-way handshake, and when UDP is better. (detailed)
  6. TLS and HTTPS: encryption, certificates, and the handshake. (detailed)
  7. HTTP caching: Cache-Control, ETags and 304. (detailed)
  8. Origin and same-origin policy: scheme + host + port, and what the browser blocks. (detailed)
  9. CORS: how a server lets other origins read its replies. (detailed)