1. Catalogue 11 Pages
1. Chapter I: Rule 1-Reduce HTTP requests, explain why additional HTTP requests can have a huge impact on performance, and describe ways to reduce HTTP requests, including image maps, CSS Sprites, url inline images using data: schemas,
and merging scripts and style sheets
2. Chapter II: Rule 2-Use the Content Publishing network to emphasize the advantages of using a content publishing network
3. Chapter III: Rule 3-Add the Expires header and study how a simple HTTP header can dramatically improve Web page performance through browser caching
4. Chapter Fourth: Rule 4-compression components, explains how compression works, and how to initiate compression for Web servers, and discusses some of the compatibility issues that exist today
5. Fifth: Rule 5-put the style sheet at the top, showing how the stylesheet affects page rendering [LINK]
6. Chapter Sixth: Rule 6-The script is displayed at the bottom, showing how the script affects rendering, and how the script is downloaded to the browser
7. Chapter Seventh: Rule 7-Avoid CSS expressions, discuss the use of CSS expressions and the importance of measuring their impact
8. Chapter VIII: Rule 8-use external JavaScript and CSS to describe how to weigh inline JavaScript and CSS, or put them in an external file
9. Chapter Nineth: Rule 9-Reduce DNS lookups, highlighting the impact of frequent lookups when resolving domain names
10. Tenth: Rule 10-streamline JavaScript and quantify the benefits of removing whitespace characters from JS
11.11th: Rule 11-Avoid redirection, put forward a warning to use redirection, and give an alternative method
12. Chapter 12th: Rule 12-Remove duplicate scripts, showing what happens if a page contains two identical scripts
13. Chapter 13th: Rule 13-Configuring the ETag, describes how the ETag works, and why the default implementation is not good for any web site that has a redundant Web server
14. Chapter 14th: Rule 14-Make Ajax cacheable, emphasizing the importance of keeping these performance rules in mind when using Ajax
15. Chapter 15th: Implementation of case studies
29th page: Web performance Golden rule: only 10%-20% of the end-user response time is spent on downloading HTML documents. The rest of the 80%-90% time is spent on all the components in the download page.
Rule 1:css image Map (36 pages) and CSS Sprites[background-position],
Inline Picture: data, converting to 64-bit encoding included in HTML
Merging scripts and style sheets
Rule 2: Content Publishing Network CDN
CDN is used to publish static content, slices, scripts, stylesheets, and Flash. Providing dynamic page content increases other costs, and its complexity is beyond the capabilities of the CDN
But static files are easy to store and have fewer dependencies and can be published with CDN
Rule 3: Add Expires Header
The browser uses caching to reduce the number of HTTP requests and to reduce the size of the HTTP response, which makes the Web page load faster. The Web server uses the expires header to tell the Web client
It can use the current copy of a component until the specified time.
The rule 6:js script is placed at the bottom (72 pages), in order to guarantee the correct execution order of JS script, the browser disables multi-threaded download when downloading script
Rule 9: Reduce DNS Lookups (92 pages), consider 2-4 host domain names to provide download of Web page components, but not too many, while using keep-alive
High Performance website Building guide