You type a URL. Press Enter. A beautiful website appears in milliseconds. But behind that single action, an entire chain of networking, security, and system-level operations takes place.
If you're learning DevOps, SRE, Backend Engineering, Networking, or System Design - this is one of the most important flows to understand.
π Example
Suppose you type:
what happens internally?
Let's break it down step-by-step.
β‘ High-Level Flow
Enter URL
β
Browser Cache Check
β
DNS Resolution
β
TCP Handshake
β
TLS/SSL Handshake
β
HTTP Request Sent
β
Load Balancer / Server
β
Application Processing
β
HTTP Response
β
Browser Rendering
1. Browser Checks Cache First
Before contacting any server, the browser checks whether it already knows the IP address.
It checks:
β Browser cache
β OS DNS cache
β Router cache
β ISP cache
If found:Use cache IP address
This avoids unnecessary DNS lookups and makes websites load faster.
2. DNS Resolution Happens
Humans remember names. Computer communicates using IP addresses.
So the browser asks:
What is the IP address of google.com?
The DNS server responds with something like:
142.250.xxx.xxx
This process is called DNS Resolution.
3. TCP Connection is Established
Now the browser knows the server IP.
Next step:
π€ TCP 3-Way Handshake
Client β SYN
Server β SYN-ACK
Client β ACK
Now a reliable connection is established.
π Why TCP?
TCP guarantees:
β Reliable delivery
β Ordered packets
β Error checking
β Retransmission
This is extremely important for web applications.
4. TLS/SSL Handshake (HTTPS)
Since the URL starts with:
https://
A secure encrypted connection must be created.
During TLS handshake:
β Certificate validation
β Encryption negotiation
β Session key exchange
β Secure communication setup
Now communication becomes encrypted.
5. Browser Sends HTTP Request
Now the browser sends:
GET / HTTP/1.1
Host: google.com
The request also contains:
β Headers
β Cookies
β Authentication tokens
β User-Agent
β Compression support
6. Request Travels Across the Internet
The request moves through multiple layers:
Browser
β Operating System
β Router
β ISP
β Internet
β CDN / Load Balancer
β Web Server
In modern production systems:
Requests usually hit CDN or Load Balancer first
7. Server Processes the Request
Now the backend application starts working.
Possible operations:
β Run application logic
β Authenticate user
β Query databases
β Read cache
β Call microservices
β Fetch files
The server then prepares a response.
8. Server Sends HTTP Response
Example response:
HTTP/1.1 200 OK
The server may return:
β HTML
β CSS
β JavaScript
β Images
β JSON data
9. Browser Renders the Webpage
Now the browser starts rendering.
Internally it:
β Parses HTML
β Builds DOM tree
β Downloads CSS
β Executes JavaScript
β Paints pixels on screen
Finally:
π The webpage appears
π― Interview Keywords You Must Know
DNS
TCP Handshake
TLS Handshake
HTTP Request/Response
Caching
CDN
Load Balancer
Browser Rendering
Latency
Microservices
π₯ If You Found This Useful
Follow for more content on:
DevOps
SRE
Linux
Kubernetes
Networking
System Design
Production Engineering
Happy Learning
Top comments (0)