Browser: How It Works

Shaikat Ray

DNS > TCP > SSL > Request

You enter a URL, browser finds the IP address (from Cache/DNS), completes the 3-way TCP handshakes, completes the SSL/TLS key exchange, and sends a GET request to the server.

TCP Connection: SYN > SYN/ACK > ACK

SYN – Synchronize Sequence Numbers

How Browser Works?

Step 01: Browser downloads and start to parse the Source HTML.

Step 02: Browser starts to build the DOM and CSSOM

Step 03: Browser finds CSS and JS resources and starts to process them

Step 04: Browser makes the DOM Tree and CSSOM Tree

Step 05: Browser makes the Render Tree

Step 06: Browser makes the layout

Step 07: Browser starts to paint