JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Follow publication

Member-only story

What happens when you type a URL into your browser?

Dhanush N
JavaScript in Plain English
3 min readApr 15, 2024

--

Every day, when you open your computer, you navigate to your favourite social networking, news, or e-commerce websites. You can get to this page by typing in the URL or by clicking on one of the page’s links. Ever thought about what occurs in the background? How do you get the news when you type in the URL and press Enter? How did the images in this post look on your web browser? When your tweets and feeds appear in your browser, how are they secured?

We’ll examine what occurs when you type a URL into your browser and hit Enter in this post. The browser, your computer’s operating system, your internet service provider, the server where your website is hosted, and the services that operate on that server are all involved in the process from beginning to end. It’s critical to comprehend potential trouble spots, know where to look for performance problems, and make sure your users are receiving a secure experience.

These are the steps that browser takes :

  1. Finds out where the website is hosted on the server.
  2. Establishes a connection with the host
  3. Submits a request to obtain the particular page.
  4. Processes the server’s response
  5. Shows the page and allows you, the visitor, to interact with the website

--

--

Published in JavaScript in Plain English

New JavaScript and Web Development content every day. Follow to join our 3.5M+ monthly readers.

Written by Dhanush N

Engineer, Chess enthusiast & Tech tinkerer. I build, break and hack systems while exploring the art of problem-solving. 🔗 https://www.youtube.com/@dhanushnehru

No responses yet

Write a response