Skip to main content
miji.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.

Nov 4, 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 just a moment. 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, 192.0.2.1). 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 arrives in a short time. 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 the ingredients for displaying 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 slight - hard for people 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 can be over in a short time - the speed of the internet 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?

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.

Link Click Psychology - Why URL Appearance and Trust Signals Drive Click-Through Rates

Explore the psychology behind link clicking behavior. Learn how URL length, domain reputation, and visual trust signals affect click-through rates.

URLs That Spread Conspiracy Theories - The Inseparable Bond Between Fake News and Links

Examine the role URLs and short links played in spreading conspiracy theories and fake news. Why people click suspicious URLs and how platforms are fighting back.

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

HTTP Status Code

A three-digit number returned by a web server indicating the result of a client's request.

Short URL

A condensed version of a long URL that redirects to the original destination. Short URLs are easier to share and track.

Related Tools

Short URL Expander

Paste a shortened URL to see its redirect path and final destination without actually opening it.

Paste a URL. That's it.

Shorten a URL