Here are the simplest steps followed when you time URL in browser and press ENTER -
- Browser checks cache; if requested object is in cache and is fresh, skip to #9
- Browser asks OS for server's IP address
- OS makes a DNS lookup and replies the IP address to the browser
- Browser opens a TCP connection to server (this step is much more complex with HTTPS)
- Browser sends the HTTP request through TCP connection
- Browser receives HTTP response and may close the TCP connection, or reuse it for another request
- Browser checks if the response is a redirect (3xx result status codes), authorization request (401), error (4xx and 5xx), etc.; these are handled differently from normal responses (2xx)
- If cacheable, response is stored in cache
- Browser decodes response (e.g. if it's gzipped)
- Browser determines what to do with response (e.g. is it a HTML page, is it an image, is it a sound clip?)
- browser renders response, or offers a download dialog for unrecognized types
Also, there are many other things happening in parallel to this (processing typed-in address, adding page to browser history, displaying progress to user, notifying plugins and extensions, rendering the page while it's downloading, pipelining, connection tracking for keep-alive, etc.).
Useful links:
Useful watch:
SelamatPetang,
ReplyDeleteInteresting piece!Great to see someone write What happened when you type URL in browser and press ENTER ? who is not a fanatic or a complete skeptic.
But now it was not letting me use the forum without putting a new nickname and new email address. Everytime I was putting my original nickname udasxilinx it was saying nickname is already used. But this does not make sense, because the nickname is used by me and I am using same email to login. Also it is not letting me use my actual email id when I used in as forum email. So I am forced to use a different nickname (udayxilinx) and different email address (uday.das@gmail.com) though from the root I am using the same old company's email id.
By the way do you have any YouTube videos, would love to watch it. I would like to connect you on LinkedIn, great to have experts like you in my connection (In case, if you don’t have any issues).
Regards,
Radhey
Hello,
ReplyDeleteA really interesting, clear and easily readable What happened when you type URL in browser and press ENTER ? article of interesting and different perspectives.I will clap. So much is so well covered here. AWS Training USA
However, when .ebignore is present in yout project directory, the EB CLI doesn't use git commands and semantics to create your source bundle. This means that EB CLI ignores files specified in .ebignore, and includes all other files. In particular, it includes uncommitted source files.
Anyways great write up, your efforts are much appreciated.
Grazie,
Radhey
Hello There,
ReplyDeleteSeems like I won the lottery here….This is a treasure box of blogs and your folks are like leprechauns! Phenomenal read on What happened when you type URL in browser and press ENTER ?!
We have a t2.micro instance (built from amzn-ami-hvm-2016.09.1.20170119-x86_64-gp2) on which a customized WordPress is deployed. Following various posts here and elsewhere, AWS Training , various parameters for Apache and MySQL have been set to accommodate the 'size' of the host, including the deployment of a swap partition. The site has been running without issue for weeks.
Please keep providing such valuable information.
Shukran,
Preethi.