What happens in the background of web apps

Source: Internet
Author: User

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

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.