Static resources for Web sites why use separate domain names

Source: Internet
Author: User

In general, large sites will be static resources such as Js,css,logo pictures and other resources distributed deployment, and the use of independent domain name, namely static and dynamic separation. Distributed deployment can alleviate the load pressure on the application server, which is easy to understand, but why can I speed up the browser concurrent loading by using a separate domain name?

1, the browser to the same domain name of the number of concurrent connections limit (including two-level domain name), after the limit will be blocked.

2. When the browser requests a static resource from the server, it will first send the cookie under the same domain name, and the cookie will not be processed by the static resource server, wasting bandwidth

3, independent domain name convenient for us in the Agent service layer to do static and dynamic separation, dynamic separation is more conducive to CDN.

Static resources for Web sites why use separate domain names

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.