What is the process from the input URL to the Web page display?

Source: Internet
Author: User

before monitoring the website, we should first understand the basic operation of the Network (web). That is, from the browser to enter the URL to the browser display page, what happened in the process?
generally can be divided into the following 7 steps:
1, enter the URL in the browser.
2. Send to the DNS server and obtain the IP address of the Web server corresponding to the domain name.
3. Establish a TCP connection with the Web server.
4. The browser sends the appropriate HTTP request to the Web server's IP address.
5. The Web server responds to the request and returns the data for the specified URL, or the error message, and redirects to the new URL address if redirection is set.
6, the browser after downloading data parsing HTML source files, parsing the process of implementing the layout of the page, the resolution is completed in the browser to display the basic page.
7, analyze the hyperlinks in the page and display in the current page, repeat the above process until no hyperlinks need to send, complete display.

The concept of time at each stage needs to be clear:
Browse wait time: IE will only produce two parallel network connections, if exceeded will be queued until the connection can be established, that is recorded when the wait.
DNS query time: Through IE, the site domain name and IP address translation of the duration.
TCP establishes the connection time (including the SSL handshake): The total duration of the link connection between the client machine and the Web server to be accessed, including the time-consuming SSL handshake.
When a client sends a request: The browser makes a request to the Web server time-consuming.
Server Response Time: When the server receives a customer request to respond.
REDIRECT time: How long it takes for the server to automatically jump from one page to another. such as access www.google.com will automatically jump to www.google.cn. When the original document was downloaded: Download the base document for the site, such as AccessWww.jixie.net, in particular, download index.htm this file, not including other images and other elements of the file.
When the original document download is complete until all downloads are complete: When you download all the resource files that are associated with the original document.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.