What happened to typing a URL from the address bar and showing it to the Web?

Source: Internet
Author: User

This question both examines the depth of technology and examines the breadth of technology, in fact, it is quite difficult to answer well.

After typing a URL in the address bar, the browser makes a request to the server to request the content of the URL page, and then the server receives the request to process the request, and then returns the processing result to the browser in the form of an HTML file, and finally the browser parses the returned HTML file. If the browser finds that the returned page contains a CSS file, the browser requests the CSS file to the server again, and so on, the browser requests the JS file to the server again, and then, when it finds the file, it requests the image file from the server, and then puts the files in the corresponding location. The content of the Web page is not a one-time request can be taken out of all the files, but 1.1 points of the extracted. Therefore, when the Internet speed is relatively slow, the content of the Web page may be the first display of a contour, and then the image and other elements of a little more display.

Reference

What happens in the process from the input URL to the page load complete

What happened to typing a URL from the address bar and showing it to the Web?

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.