Sobes.tech
Junior — Middle

What processes are launched in the browser when navigating to an external web resource?

sobes.tech AI

Answer from AI

When transitioning to an external web resource, the browser performs several key processes:

  1. DNS Resolution — converting the domain name to the server's IP address.
  2. Establishing a connection — opening a TCP connection with the server, usually through port 80 (HTTP) or 443 (HTTPS).
  3. TLS/SSL handshake (if HTTPS) — establishing a secure communication channel.
  4. Sending an HTTP request — the browser sends a request to the server (GET, POST, etc.).
  5. Receiving a response — the server returns HTML, CSS, JavaScript, images, and other resources.
  6. Processing and rendering — the browser parses HTML, loads and applies styles, executes scripts, builds the DOM, and displays the page.
  7. Performing additional requests — the browser loads all external resources specified on the page (scripts, styles, images).

This process occurs quickly and sequentially, ensuring the web page is displayed to the user.