CSS directly to the page and external call difference

Source: Internet
Author: User
Keywords Web page production CSS Tutorials
Tags cache css tutorial difference direct external home page http http request

CSS tutorials are placed directly on the page and external calls differ
1. Reduce HTTP Requests
Linking to the outside inevitably adds additional HTTP requests, which is time-consuming.
2, to avoid the bare page
If the server that holds the CSS hangs, the entire front page hangs off. On the page, more secure. When a user accesses a page, it does not cause a bare page because the CSS does not load.
3. About modification
You may say this is not easy to modify and manage.
In fact, generally are loaded with the program dynamic, and then use the cache static home and so on.
That's all I know for the time being.

4, put the surface to facilitate the external modification, but if the CSS loading does not come in, may result in the bare page

General large flow of the site are the CSS directly on the page, which is to cope with a large flow of an optimization scheme, such as NetEase home, Tencent home and so on.

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.