Interview question: Input a URL URL to render a page will change


1. DNS domain name resolution: the browser looks up the IP address of the domain name
2. Establish a TCP connection (three-way handshake)
3. Send HTTP request: the browser sends HTTP request information to the server according to the IP address and corresponding port number to copy a web page to
4. Client (request and data are transmitted through TCP/IP protocol)
5. The server processes the request and returns the response result (transfers the file of the web page to the browser in the form of data packet)
6. Closes the TCP connection (four-way handshake )
7. The browser parses and receives the composition file (packet)

Guess you like

Origin blog.csdn.net/CSH__/article/details/129620678
URL
URL