Skip to main content
短.be

What Happens When You Click a Link? A Peek Behind the 0.5-Second Curtain

What happens behind the scenes when you click a link? An adventure-style guide covering DNS, requests, responses, and how URL shortener redirects work.

Mar 31, 2026 · About 3 min read

Technical

## The Adventure Begins the Moment You Click

From the moment you click a link to when the page appears, it takes about 0.5 seconds. That's less than a single blink. But in that tiny window of time, your phone or computer goes on an adventure that spans the entire globe. Let's peek behind the curtain.

## Step 1: Looking Up the Address - DNS, the Phone Book

When you click a link to "example.com," your browser first asks, "Where is example.com, exactly?"

This is just like looking up someone's phone number in a phone book. On the internet, every server has a numerical address called an "IP address" (for example, 93.184.216.34). Humans find names like "example.com" easier to remember, but computers can only find each other using numbers.

That's where DNS (Domain Name System) comes in - it translates human-friendly names into numerical addresses. Think of it as the internet's phone book.

By the way, once your browser looks up an address, it remembers it temporarily. This is called a "cache." The next time you visit the same site, it skips the phone book lookup, so things load a little faster.

## Step 2: Delivering the Letter - The Request

Once the address is known, your browser sends a letter (a request) to that server saying, "Please show me this page."

This letter travels at nearly the speed of light through undersea cables and fiber optics. From Japan to a server on the west coast of the United States, it takes only about 0.1 seconds. Crossing the Pacific Ocean floor in an instant - pretty amazing, right?

By the way, this letter contains more than just "which page I want." It also includes information like "what browser I'm using" and "what language I'd prefer." It's like ordering food at a restaurant and adding, "Not too spicy, please" or "Large portion, please."

## Step 3: The Reply Arrives - The Response

The server receives the letter and sends back a reply with the page data. This is the response.

Inside the reply are all the ingredients needed to display the page: HTML (the page's skeleton), CSS (the design instructions), JavaScript (programs that add interactivity), and image data.

Your browser takes these ingredients, arranges the text, applies colors, places images, and assembles the page you see. In cooking terms, the chef (your browser) takes the delivered ingredients and plates the dish.

If the server can't find the page, it sends back a "404 Not Found" error. It's like being told, "Sorry, that dish is sold out."

## With a Shortened URL - A Detour Called Redirecting

When you click a shortened URL, there's one extra step.

1. Your browser sends a letter to the URL shortener's server 2. The shortener's server replies, "The real destination is over here" (this is a redirect) 3. Your browser sends a new letter to the real destination 4. The actual server sends back the page data

A redirect is similar to a mail forwarding service. When someone moves, the post office forwards letters addressed to the old address to the new one. The URL shortener's server remembers the instruction: "Forward anything sent to this short address to that long address."

Since there's one extra stop, it takes a tiny bit longer. But the difference is only about 0.05 seconds - far too small for humans to notice.

## Summing Up Those 0.5 Seconds

Let's recap what happens between clicking a link and seeing the page.

1. DNS looks up the address (checking the phone book) 2. A request is sent to the server (delivering the letter) 3. A response comes back from the server (receiving the reply) 4. The browser assembles the page (the chef plates the dish from the delivered ingredients)

With a shortened URL, there's one "redirect" step between 2 and 3. Even so, the whole process takes less than a second - the speed of the internet really is something.

Next time you click a link, try imagining that an adventure spanning the globe has just begun. Doesn't that make it a little more exciting?

If you want to dive deeper into how the internet works, web technology books on Amazon are a great place to start.

Share on XHatena

Was this article helpful?

Related Articles

How URL Shorteners Work - The Technical Side of Redirects

Discover the technical mechanics behind URL shortening: hash generation, database lookups, HTTP redirects, and more. Includes HTTP response examples and base-62 encoding calculations.

301 vs 302 Redirects - Choosing the Right Type for Short URLs

Understand the differences between 301 and 302 HTTP redirects. Learn how each type affects SEO, analytics, and performance for short URLs.

How Redirect Chains Impact Web Performance - Speed Optimization for Short URLs

Quantitative analysis of how short URL redirect chains affect Core Web Vitals and page load speed. Covers redirect hop optimization, edge redirects, and HTTP status code selection for maximum performance.

Why People Click Links - The Surprising Relationship Between URL Appearance and Psychology

Explore the psychological mechanisms that determine whether people click links. Understand how URL length, character patterns, and brand names affect click-through rates through behavioral economics and cognitive psychology.

When a Short URL Service Dies - What Happened When goo.gl Shut Down

Google's goo.gl, Owly, and many other short URL services have shut down. What happens when they close? What becomes of billions of links? Explore the drama surrounding short URL "death."

The History of Rickrolling - The Internet's Greatest Prank Born from Short URLs

Click a link and Rick Astley starts playing. The internet's most famous prank "Rickrolling" exploded alongside short URL adoption. Explore its history and cultural impact.

Related Terms

Ready to shorten your first URL?

Shorten a URL