Create a High-performance Web page _ Web application

Source: Internet
Author: User

Reduce the number of HTTP requests as much as possible [content]
Using CDN (Content Delivery network) [Server]
Add Expires headers (or Cache-control) [Server]
Gzip components [Server]
Put a CSS style above the page [CSS]
Move the script to the bottom (including inline) [JavaScript]
Avoid using Expressions in CSS [CSS]
Separate JavaScript and CSS into external files [JavaScript] [CSS]
Reduce DNS queries [content]
Compress JavaScript and CSS (including inline) [JavaScript] [CSS]
Avoid redirecting [server]
Removing duplicate scripts [JavaScript]
Configure entity tags (ETags) [CSS]
Make Ajax cache [content]
According to the content of the PPT, I used Yslow to check my homepage, only to get an "F 47" (frankly, very discrepancy with my estimate).

The main problem is that Gzip compression is not turned on, and HTTP header caching is not set. Seems to have been tossing for so long, in addition to server-side performance, the client's cache can not be ignored.

Think about it, if Taobao home is not cached, even if it is more than 1KB of page capacity, multiplied by billions of PV per day, this number will be how huge.

Finally, provide a PPT download for this session and thank them again.

For more information, you can visit the center of the gay Blog, he has more detailed content.

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.