What happens from entering the URL to rendering the page? (Universal interview questions)
- Enter the address in the browser’s address bar.
- DNS resolves a domain name into an IP address.
- Establish A TCP connection and shake hands three times.
- The browser sends an HTTP request packet.
- The server processes the request and returns an HTTP response message;
- The browser parses the rendered page;
- Disconnect the TCP connection and shake hands four times.