How the web works
Posted 4th September 2014 in Performance
Do you know how the web works? When you open a website in your web browser what you see isn’t on the internet. Confused? Stick with me!
It’s worth mentioning what the web isn’t. It isn’t driving to you’re friend’s new house, taking your shoes off at the door and having a look round. It’s actually more like your friend sending you pictures and videos of their house in the post; only much quicker than anything the Royal Mail can manage!
Making a request
The first thing you do when you want to view a website is look for it or find it. There are—broadly—three ways to get to a website:
- Type a website address into your web browser’s address bar
- Type a search into a search engine like Google or Bing, then click through to the website you want from there
- Follow a link from another website (Twitter, Facebook, or anywhere else on the web)
Doing any of these three things is called a request: “can I see this website please?”.
The website itself lives on a web server—a place on the internet where a website lives—and, when a request comes through, the server then sends (serves) the website to the person who asked to see it.
Your browser then starts to receive all the files that make up the website you requested. So when you view a website, you’re literally viewing it on your smartphone, tablet or laptop.
Sending and receiving
So the only time you’re actually online, when you’re using the web, is
- When you ask for something
- When you’re sent something
This is why using the internet over a broadband connection is quicker than 3G – the files from the web server are sent and received quicker on broadband, so the website appears quicker.
So the web is a back-and-forth between you and a web server. As a website owner, this is an important idea to get your head around as it informs a lot of decisions your web designer will make when designing and coding your site.