High Performance website Construction Guide

Source: Internet
Author: User
Tags header http request

1th Chapter, the rule 1--reduces the HTTP request. Describes why additional HTTP requests can have a significant performance impact, and describes ways to reduce HTTP requests, including picture maps, CSS child graphics, URL inline pictures that use data: patterns, and merge scripts and style sheets. The bitter cold bamboo supplements: Picture map refers to such as the forum these expressions to do the same picture, through the CSS positioning to call the picture. There are many examples of this in the Web Standard area

In the 2nd Chapter, rule 2--uses content publishing networks to emphasize the advantages of using content publishing networks. CDN Acceleration

In the 3rd Chapter, Rule 3--Add Expires header to study how a simple HTTP header can dramatically improve Web page performance by using browser caching. (Use caching to reduce download times)

In the 4th chapter, the Rule 4--compression component explains how compression works, how to enable compression for the Web server, and discusses some of the compatibility issues that exist today. (Gzip compressed)

5th chapter, rule 5--the style sheet at the top shows how the style sheet affects the rendering of the page. Style sheets should be placed at the top of the

In the 6th chapter, rules 6--the bottom of the script to show how the script affects rendering, and how the script is downloaded to the browser. (The foot should be placed at the bottom, unless the bottom can not be performed)

In the 7th chapter, rules 7--avoid CSS expressions to discuss the use of CSS expressions and the importance of measuring their effects. (Try not to use CSS expressions.) What is a CSS expression to go to the standard area to learn?

In the 8th chapter, rule 8--uses external JavaScript and CSS to describe how to weigh inline JavaScript and css or put them in an external file.

In the 9th chapter, the Rule 9--reduce DNS lookup emphasizes the effect of frequent lookup when resolving domain names.

In the 10th chapter, the rule 10--streamlined JavaScript quantifies the benefits of removing whitespace from JavaScript. (compressed JS, can see the goolge.com HTML source file)

The 11th chapter, the rule 11--avoids the redirection to use the redirection to put forward the warning, and has given the alternative method.

12th Chapter, rule 12--Remove duplicate scripts show what happens if a page contains two identical scripts.

In the 13th chapter, the Rule 13--configuration ETag describes how ETag works and why the default implementation is bad for any Web site with more than one Web server.

In the 14th chapter, Rule 14--makes Ajax cacheable to emphasize the importance of keeping these performance rules in mind when using Ajax.

Firefox YSlow plugin can be downloaded for optimization, reference: http://developer.yahoo.com/yslow/



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.