What happend when you type a URL in browser
-
Check url is valid or not
-
Check browser cache, system cache, router cache, ISP cache, if cache hit, return the page, else go to step 3
-
DNS resolve, get IP address
-
Browser send HTTP request to server (TCP three-way handshake)
-
After handshake, browser send HTTP request to server
-
Server handle the request, and send back HTTP response
-
Browser receive the response, and render the page to user