The interview is often asked, what happens after you type a webpage? This is a very detailed post, http://blog.jobbole.com/84870/but too detailed, if the bar to the interviewer to finish, it is estimated that the time to eat lunch, then a lite version of it.
1. Enter the URL and press ENTER. This time the key code 13 of the Enter will be sent to the browser, and then the browser began to execute the relevant program.
2. Parse URL: Check the URL of the HTTP protocol, and request the resources of the home page, if the URL is not legal may perform search engine search.
3.DNS queries, either through the local DNS cache or by sending a request to the DNS server to obtain the ID address of the domain name.
4. Locate the server via the IP address and establish the link.
5. Use the HTTP protocol to send a request to the server.
6. The server processes the request and returns the response message.
7. The browser parses the returned information and displays it on the screen.
What happens when you type a Web page