What happens between entering a URL and receiving a rendered web page?
Answer
The client resolves the host, establishes a connection, negotiates TLS when used, sends an HTTP request, receives headers and content, then the browser parses resources and executes page logic. Caches, proxies, CDNs and service workers may alter the path.
Strong answer includes
- DNS, connection and HTTP
- browser rendering
- intermediaries and cache
Practical example
A tester debugging a slow page load opens the browser's network tab and walks through the waterfall: DNS lookup took 200ms because of a slow resolver, then a CDN cache miss added another 300ms before the actual HTML arrived, revealing the bottleneck was infrastructure, not application code.