What happens from entering the URL to rendering the page? (Universal interview questions)

  1. Enter the address in the browser’s address bar.
  2. DNS resolves a domain name into an IP address.
  3. Establish A TCP connection and shake hands three times.
  4. The browser sends an HTTP request packet.
  5. The server processes the request and returns an HTTP response message;
  6. The browser parses the rendered page;
  7. Disconnect the TCP connection and shake hands four times.