After entering the URL in the browser, the browser will find its IP address by the domain name it accesses, send an HTTP request to the Web server, get a permanent redirect response for a service, then the browser tracks the redirect address, sends another request, the server receives the fetch request, and then processes and returns a response. Sends back an HTML response, and then the browser displays HTML, and when the browser displays HTML, it notices the need to get a label for the content of the other address. At this point, the browser sends a FETCH request to retrieve the files. The browser sends an asynchronous (AJAX) request, and the client remains in contact with the server side after the page is displayed.
Process:
1. Sending an HTTP request
2. Locate the target server
3. The browser for domain name resolution, to obtain the IP address of the www.xxx.com corresponding server
4. Establish a TCP link with the target server (three handshake)
5.http Request transfer data (get and Post methods)
6. Rendering the page
7. Disconnect from the target server (four break up)
What happens in the background of web apps