Urgent.News

What's breaking now, across thousands of outlets.

Tech

What Happens When You Type google.com and Press Enter? The Full Journey, Explained Simply

TL;DR: Your browser turns "google.com" into an IP address (DNS), opens a connection (TCP), secures it (TLS), asks for the page (HTTP), then builds the page from raw HTML, CSS, and JavaScript (rendering). All of it usually finishes in under a second. It feels instant. You type eleven characters, tap Enter, and Google is just... there. But between your keypress and those pixels, your computer pulls…

When you type "google.com" into your browser and press the Enter key, a remarkable process unfolds that allows the search engine to appear on your screen almost instantly. Here's how it all happens, step by step:

1. The browser first checks its cache to see if it has recently stored information about "google.com". If it finds the data, the process is sped up significantly. Otherwise, the journey continues.

2. The browser then enters the Domain Name System (DNS), which translates the human-readable web address into a computer-friendly IP address. This translation process involves a series of queries to various servers, ultimately resolving "google.com" to its corresponding IP address, such as 142.250.190.14.

3. Once the IP address is obtained, the browser establishes a TCP (Transmission Control Protocol) connection with Google's server. TCP performs a three-way handshake, ensuring both the browser and server are ready to communicate before any data is sent.

4. To secure the communication, the browser and Google's server exchange TLS (Transport Layer Security) handshake messages. This process, which takes only one round trip, establishes a secure encrypted connection between the two parties, preventing any potential eavesdropping.

5. With the secure channel established, the browser sends an HTTP (Hypertext Transfer Protocol) request to Google's server asking for the homepage. The request includes information about the browser and its capabilities.

6. Upon receiving the request, a load balancer directs it to a Google server, which generates the HTML for the homepage. The server then sends the HTML code back to the browser along with a status code of "200 OK", indicating success.

7. The information received from Google's server doesn't arrive as a single packet but rather as numerous small packets traveling back through the internet. The browser reassembles these packets in the correct order, decrypts the TLS-encrypted data, and hands it off to the browser for further processing.

8. The browser then performs the rendering process, which involves parsing the HTML into a Document Object Model (DOM), fetching and parsing CSS files into the CSS Object Model (CSSOM), combining the DOM and CSSOM into a render tree, calculating the layout of each element, painting the elements onto the screen, and finally executing any JavaScript code to make the page interactive. This entire rendering process happens in a matter of milliseconds.

The reason subsequent visits to "google.com" feel faster is due to caching. The browser stores DNS results, TLS session details, and page assets like images and stylesheets, allowing it to skip certain steps on subsequent visits.

In summary, typing "google.com" and pressing Enter initiates a complex, multi-step process involving DNS resolution, TCP connection establishment, TLS encryption, HTTP request and response, load balancing, server-side rendering, and browser-side rendering. All of this happens in under a second, making it seem instantaneous while involving numerous steps and connections across the globe.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why I engineered NanoScript for Vlox: A deep dive ⭐

Every developer faces a hard choice when building a website. You need to pick a frontend tool to manage your user interface.

  • Developer creates NanoScript as lightweight frontend tool for Vlox
  • Master Toolbox Architecture eliminates need for repeated new keyword
  • Selector engine targets DOM elements with concise syntax

Why Low-Quality Images Still Matter in a 4K World

Why Anyone Still Wants a Bad Image in 2026 A 4K stream loads in under three seconds on a phone that fits in a back pocket. A movie shot on a $70,000 camera plays on a bus with no stutter.

  • Low-quality images persist in 4K era due to practical image quality considerations.
  • High definition becomes invisible, losing significance as a signal.
  • Degraded images blend into surroundings, avoid suspicion, and meet legal requirements.

SmogCheck - offline

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass What I Built SmogCheck is an offline walking-route planner for Lahore's smog season.

  • SmogCheck is an offline walking-route planner for Lahore's smog season.
  • It generates 3 km loops avoiding major traffic arteries and parks.
  • Route through park had 17% on major roads vs 61% in shortest path.

Google Play Billing for Android apps that sell digital features

A paid feature in an Android app can be a subscription, an extra capability, digital content, or cloud software access. If users can buy that digital good or service inside an app distributed on…

  • Google Play Billing system required for Android in-app purchases
  • Proper SKU classification crucial for compliance with Google Payments policy
  • Article outlines steps and considerations for correct purchase classification

More from Sunday 11 October →