A page from the input URL to the page load display completed, what happened in this process?

Source: Internet
Author: User

A page from the input URL to the page load display completed, this process has occurred:
1. Browser Completion URL address
After entering the URL, the browser will automatically check that the address is complete, such as whether to add HTTPS protocol, if found incomplete, will be automatically complete.

2. Querying the DNS for IP addresses
Each domain name corresponds to one or more IP addresses that provide the same service server, and only know the server IP address to establish a connection, so you need to resolve the domain name to an IP address through DNS.
3. After obtaining the IP address, establish the connection and carry out the handshake three times.
That is, each time the connection is established, the client and the server will have to make three conversations before the official transfer of content, the content of the three conversations is probably this:
(1) Client: I want to connect you, can I?
(2) Service side: Well, I'm ready, connect me.
(3) Client: Then I connect you.

4. Send a request to the IP address
The client sends a GET request to the server via an IP address, and the server receives the request on port 80 and responds.

5. The server receives the request on port 80, transmits the corresponding content to the browser

6. The browser parses the content and continues to search for requests within the page, and some words continue to be sent to the server via IP address

7. After accepting the content sent from the server to the browser, the browser renders the Web page and presents the content to the user

8. Disconnect the client from the server and wave four times
That is, before each disconnection, the client and the server will have to make four conversations before formally disconnecting, the content of the four conversations is probably this:
(1) The host sends a disconnect request to the server. (It's not too early, I have to go)
(2) The server sends a signal confirming receipt of the request after receiving the request. (Got It)
(3) The server sends a disconnect notification to the host (I should go too).
(4) The host disconnects after disconnecting and feedback a confirmation signal (well, OK), the server disconnects after receiving the confirmation signal.

A page from the input URL to the page load display completed, what happened in this process?

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.