Client Request Web page resource process

Source: Internet
Author: User

We request the page seems to be a page, but the page is often composed of a lot of resources, such as the page is a picture is a resource, an article is a resource, a video is a resource,Web page Most of the time will be set up a variety of resources in one, Used to give users a more user-friendly access experience.

For example, opening a Web site usually requests a main page, the main page itself is a resource, it may be a static page, such as HTML, or PHP,JSP source running some programs or some scripts, Some of the content that is dynamically generated. Although we type the site name is a single URL, but this page in different locations show different content, such as the site's top left corner will appear the site logo, this is a page of resources,logo may be a banner ( Banner), this is a resource, and then down may be the navigation, which is also a resource, the bottom is probably some of the main content and so on. These are resources. There are also a lot of resources in the navigation, such as news, forum, military, sports and so on. So, although we are accessing a frame-like page, when the browser loads the frames page, it loads each of the resources in the page in turn, loading the completed page, which is a PV(page VIEW). General e-commerce site will be statistical day PV or Daily UV(user View: Simple is based on IP access)

now in order to optimize page access speed, the site's homepage is supported by several different domain names, a domain name responsible for the text, a domain name responsible for the image, a domain responsible for video and so on. Since the browser is basically dual-threaded, and this dual thread is for each domain name, that is, if a page has only one domain name, the browser will use two lines preempted the domain name of the page, but if the site is supported by four domain names, So each time you open this home page is open four domain names, each domain name corresponding to two threads, then open the main page to use 8 threads, so that the loading speed has been greatly improved.


Client Request Web page resource process

Related Article

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.