All posts

May 17, 2024

What Happens When You Type google.com in Your Browser and Press Enter

A walkthrough of DNS, TCP, TLS, HTTP, and rendering — what actually happens between pressing Enter and seeing a page.

Read original

From keystroke to pixels

Typing a URL and pressing Enter triggers a chain of systems: DNS resolution, TCP/TLS handshake, HTTP request/response, and browser rendering.

Layers involved

  1. Browser URL parsing
  2. DNS lookup
  3. TCP connection + TLS
  4. HTTP request
  5. Rendering and JavaScript execution

Originally published on Hashnode.

What Happens When You Type google.com in Your Browser and Press Enter | Peter Edoka