Sefism early access is open for X and Instagram followers and university students.Get early access
GitHub repo · Web DevelopmentFree

What Happens When

A community written, deliberately exhaustive answer to "what happens when you type google.com into your browser and press enter?" It starts at the keyboard interrupt and works through DNS, ARP, sockets, the TLS handshake, HTTP, HTML parsing, CSS and rendering. Reading it once is a fast way to find the layers you use every day but could not explain. It has not been updated since 2024, so newer pieces such as HTTP/3 and QUIC are not covered.

Format

GitHub repo

Topic

Web Development

Provider

Alex Gaynor

Level

Intermediate

Access

Free

A community written, deliberately exhaustive answer to "what happens when you type google.com into your browser and press enter?" It starts at the keyboard interrupt and works through DNS, ARP, sockets, the TLS handshake, HTTP, HTML parsing, CSS and rendering. Reading it once is a fast way to find the layers you use every day but could not explain. It has not been updated since 2024, so newer pieces such as HTTP/3 and QUIC are not covered.

computer sciencebackendfrontendopen source

Ready to start?

Opens on Alex Gaynor in a new tab.

Open resource
Link broken or out of date?

Report a problem

With "What Happens When". Only Tauseef reads this.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.

Follow along

New writing, resources and project ideas land here first.