Computer NetworksNETWORKS

What happens when you type google.com in browser?



Have you ever been asked this common interview question? Want to ACE it next time you are asked this question?

Start here for FREE and learn it through a simple set of hands-on exercises!
https://learn.crio.do/home/me/ME_BEHIND_URL_REQUESTS

1. Browser does a DNS lookup of google.com
2. Multiple IP addresses could be returned from the DNS server if they wish to do Load-balancing.
3. These IP addresses can be IPv4 or IPv6.
4. The browser establishes a TCP connection with the web server.
5. If HTTP, it connects to port 80, if secure HTTPS it connects to port 443
6. Browser makes a HTTP GET request to the server
7. Web servers can redirect requests (like 301 Moved Permanently or 307 Temporary Redirect)
8. For a successful request, 200 status code is returned along with the HTML file.
9. The browser renders the page using the HTML response. If there are linked images, scripts and/or stylesheets, they are fetched using subsequent HTTP requests until all resources have been loaded.
10. Some of the resources may also be loaded from browser cache

source
ipv4

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply

Your email address will not be published. Required fields are marked *