How does internet works?
Today we are going to discuss how the internet works. It’s not a big deal today but we need to understand. By the way, it's a silly question that we discussed today. Okay, let's get to the point.
For visiting a site 1st we open our browser. Then search something like e.g. www.google.com, www.facebook.com. The browser had no idea what to write. He simply passes the words to our ISP.
What is an ISP?
ISP stands for Internet Service Provider. Who is responsible for making sure you can access the internet and maintain your internet infrastructure that makes internet access possible.
Our ISP sent the request to the DNS server, a Domain Name server. Who basically likes a phone book. He doesn’t know the words personally that you search but here is the address of it e.g. 172.217.7.23 ( IP Address ).
DNS sends back the IP address to our ISP and ISP sends it to our browser. ( Anything that is connected to the internet has its own unique IP address. )
After getting the IP address our browser sends a request to Google Server. Google server: OH, yah. I have some files at this address. Ok, I sent back the files. Maybe it's a text file e.g. HTML, CSS, JS files like that. After getting the file our browser will show the data or Html website.
So that's the whole process of how the internet works.
Extra Question:
What is a Browser?
The browser essentially is a tool - a piece of software that can receive files from the server. It knows how to read these files and show the files.
Critical Render Path?
A path that a browser or website takes to display HTML, CSS, or JavaScript files.