<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: The Creative CodeFlow</title>
    <description>The latest articles on DEV Community by The Creative CodeFlow (@the_creativecodeflow_f52).</description>
    <link>https://dev.to/the_creativecodeflow_f52</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4162211%2Fc20e4518-5fdb-4d25-8990-35ac34fe27a1.png</url>
      <title>DEV Community: The Creative CodeFlow</title>
      <link>https://dev.to/the_creativecodeflow_f52</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/the_creativecodeflow_f52"/>
    <language>en</language>
    <item>
      <title>What Actually Happens When You Type a URL?</title>
      <dc:creator>The Creative CodeFlow</dc:creator>
      <pubDate>Sun, 04 Oct 2026 17:57:27 +0000</pubDate>
      <link>https://dev.to/the_creativecodeflow_f52/what-actually-happens-when-you-type-a-url-4i4b</link>
      <guid>https://dev.to/the_creativecodeflow_f52/what-actually-happens-when-you-type-a-url-4i4b</guid>
      <description>&lt;h1&gt;
  
  
  What Actually Happens When You Type a URL?
&lt;/h1&gt;

&lt;p&gt;You type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You press Enter.&lt;/p&gt;

&lt;p&gt;A second later, the website appears.&lt;/p&gt;

&lt;p&gt;But what actually happened during that one second?&lt;/p&gt;

&lt;p&gt;A lot more than you might think.&lt;/p&gt;

&lt;p&gt;Let's break it down in simple terms.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The browser checks the URL
&lt;/h2&gt;

&lt;p&gt;The browser first understands what you entered.&lt;/p&gt;

&lt;p&gt;For:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;we have:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https → protocol
example.com → domain
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The protocol tells the browser how it should communicate with the server.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. DNS finds the server
&lt;/h2&gt;

&lt;p&gt;Your computer doesn't directly understand &lt;code&gt;example.com&lt;/code&gt; as an address.&lt;/p&gt;

&lt;p&gt;It needs an IP address such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;93.184.216.34
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is where DNS comes in.&lt;/p&gt;

&lt;p&gt;DNS is basically like the internet's phone book.&lt;/p&gt;

&lt;p&gt;It converts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;example.com
        ↓
93.184.216.34
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your browser can then find where the website is hosted.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. A connection is created
&lt;/h2&gt;

&lt;p&gt;Now your browser needs to communicate with that server.&lt;/p&gt;

&lt;p&gt;For HTTPS websites, the connection also involves encryption using TLS.&lt;/p&gt;

&lt;p&gt;This is important because information travelling between you and the website should not simply be readable by anyone who can observe the connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Your browser sends an HTTP request
&lt;/h2&gt;

&lt;p&gt;Now the browser can actually ask the server for something.&lt;/p&gt;

&lt;p&gt;A simplified request looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="nf"&gt;GET&lt;/span&gt; &lt;span class="nn"&gt;/&lt;/span&gt; &lt;span class="k"&gt;HTTP&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt;
&lt;span class="na"&gt;Host&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;example.com&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In simple words:&lt;/p&gt;

&lt;p&gt;"Hey server, give me the homepage of example.com."&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The server sends a response
&lt;/h2&gt;

&lt;p&gt;The server processes the request and sends something back.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight http"&gt;&lt;code&gt;&lt;span class="k"&gt;HTTP&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="m"&gt;1.1&lt;/span&gt; &lt;span class="m"&gt;200&lt;/span&gt; &lt;span class="ne"&gt;OK&lt;/span&gt;
&lt;span class="na"&gt;Content-Type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;text/html&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then the HTML page is sent to your browser.&lt;/p&gt;

&lt;p&gt;But we're still not finished.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The browser builds the webpage
&lt;/h2&gt;

&lt;p&gt;The browser reads the HTML.&lt;/p&gt;

&lt;p&gt;It might find:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;link&lt;/span&gt; &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"stylesheet"&lt;/span&gt; &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;"style.css"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"app.js"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"logo.png"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the browser needs to request those files too.&lt;/p&gt;

&lt;p&gt;So one page can cause many additional requests.&lt;/p&gt;

&lt;p&gt;Something that looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You
 ↓
Browser
 ↓
DNS
 ↓
Server
 ↓
HTML
 ↓
CSS + JavaScript + Images
 ↓
Browser renders the page
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And finally...&lt;/p&gt;

&lt;p&gt;You see the website.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interesting part
&lt;/h2&gt;

&lt;p&gt;When you think:&lt;/p&gt;

&lt;p&gt;"Google loaded in one second."&lt;/p&gt;

&lt;p&gt;Your computer actually performed many different operations behind the scenes.&lt;/p&gt;

&lt;p&gt;That's why web development isn't just about HTML, CSS and JavaScript.&lt;/p&gt;

&lt;p&gt;It also involves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DNS&lt;/li&gt;
&lt;li&gt;HTTP&lt;/li&gt;
&lt;li&gt;networking&lt;/li&gt;
&lt;li&gt;TLS&lt;/li&gt;
&lt;li&gt;servers&lt;/li&gt;
&lt;li&gt;browsers&lt;/li&gt;
&lt;li&gt;caching&lt;/li&gt;
&lt;li&gt;databases&lt;/li&gt;
&lt;li&gt;CDNs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of these pieces work together to make the web feel almost instant.&lt;/p&gt;

&lt;p&gt;Try this yourself&lt;/p&gt;

&lt;p&gt;Open your browser.&lt;/p&gt;

&lt;p&gt;Press:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;F12
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open the Network tab and refresh a website.&lt;/p&gt;

&lt;p&gt;You'll see dozens or even hundreds of requests.&lt;/p&gt;

&lt;p&gt;Look at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Request
Status
Time
Size
Type
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Pick one request and inspect it.&lt;/p&gt;

&lt;p&gt;Suddenly, the website won't look like "one page" anymore.&lt;/p&gt;

&lt;p&gt;It will look like a conversation between your browser and many different systems.&lt;/p&gt;

&lt;p&gt;And that's one of the most useful things to understand as a web developer:&lt;/p&gt;

&lt;p&gt;A website isn't just something you see.&lt;/p&gt;

&lt;p&gt;It's a collection of requests, responses and systems working together in the background.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
