14 performance rules of the high-performance website construction Guide

Source: Internet
Author: User
Tags website performance

Last night, I translated the article "How to make your website really fast". Anders Liu said the content of "high-performance website construction Guide. Then I searched for a High-Performance website. The author of the book "High Performance Web Sites" is Steve Souders, and the main character of my translation is also him, he also saw the blog of Anders Liu in the blog Park. He has translated the book as "high-performance website construction Guide".

I bought a lot of books before, but every migration is a huge burden. In the face of the pile of heavy books, I am reluctant to give up, and it is like a chicken rib, I have been moving for more than three years, and now I am planning to move for five times! So I have never bought any books in recent years.

How This Book Is Organized by Organized

After two quick introductory chapters, I jump into the main part of this book: the 14 performance rules. each rule is described, one per chapter, in priority order. not every rule applies to every site, and not every site shocould apply a rule the same way, but each is worth considering. the final chapter of this book shows how to analyze web pages from a performance perspective, including some case studies.

After the quick introduction in the two chapters, we will enter 14 performance rules, the main part of this book. Each rule is introduced in the order of priority. Each chapter has one rule. Not every rule should be applied to every website, and not every website should use one rule in the same way, but every rule deserves consideration. The last chapter introduces how to analyze Web pages from the perspective of performance. This chapter also contains some case studies.

Chapter A, The Importance of Frontend Performance explains that at least 80 percent of the time it takes to display a web page happens after the HTML document has been downloaded, and describes the importance of the techniques in this book.

Xuyan A, the importance of front-end performance explains that at least 80% of the time is spent on displaying web pages, which occurs after the HTML document is downloaded; this chapter also describes the importance of technology in this book.

Chapter B, HTTP Overview provides a short description of HTTP, highlighting the parts that are relevant to performance.

Xuyan B. HTTP overview briefly introduces HTTP and focuses on performance-related parts.

Chapter 1, Rule 1: Make Fewer HTTP Requests describes why extra HTTP requests have the biggest impact on performance, and discusses ways to reduce these HTTP requests including image maps, CSS sprites, inline images using data: URLs, and combining scripts and stylesheets.

Chapter 1, Rule 1-reducing HTTP requests: Explains why additional HTTP requests have a huge impact on performance and describes how to reduce HTTP requests, including image ing, CSS subgraphics, Inline images using the data: Mode URL, and merging scripts and style sheets.

Chapter 2, Rule 2: Use a Content Delivery Network highlights the advantages of using a content delivery network.

Chapter 2, rule 2-Use the content publishing network: emphasizes the advantages of using the content publishing network.

Chapter 3, Rule 3: Add an Expires Header digs into how a simple HTTP header dramatically improves your web pages by using the browser's cache.

Chapter 3, rule 3-add Expires headers: This article explores how a simple HTTP header uses browser cache to dramatically improve Web page performance.

Chapter 4, Rule 4: Gzip Components explains how compression works and how to enable it for your web servers, and discusses some of the compatibility issues that exist today.

Chapter 4, rule 4-compression components: Explains how compression works, how to enable compression for Web servers, and some compatibility issues that exist today.

Chapter 5, Rule 5: Put Stylesheets at the Top reveals how stylesheets affect the rendering of your page.

Chapter 5, rule 5 -- place the style sheet on the top: shows how the style sheet affects page rendering.

Chapter 6, Rule 6: Put Scripts at the Bottom shows how scripts affect rendering and downloading in the browser.

Chapter 6, rule 6-place the script at the bottom: shows how the script affects rendering and how the script is downloaded to the browser.

Chapter 7, Rule 7: Avoid CSS Expressions discusses the use of CSS expressions and the importance of quantifying their impact.

Chapter 7, rule 7-avoid CSS expressions: discusses the use of CSS expressions and the importance of measuring their impact.

Chapter 8, Rule 8: Make JavaScript and CSS External talks about the tradeoffs of inlining your JavaScript and CSS versus putting them in external files.

Chapter 8, rule 8-use external JavaScript and CSS: describes how to weigh whether JavaScript and CSS are inline or put in an external file.

Chapter 9, Rule 9: Reduce DNS Lookups highlights the often-overlooked impact of resolving domain names.

Chapter 9, rule 9-Reduce DNS lookup: emphasizes the impact of frequent lookup during domain name resolution.

Chapter 10, Rule 10: Minify JavaScript quantifies the benefits of removing whitespace from your JavaScript.

Chapter 10, rule 10-Simplified JavaScript: quantifies the benefits of removing white spaces from JavaScript.

Chapter 11, Rule 11: Avoid Redirects warns against using redirects, and provides alternatives that you can use instead.

Chapter 11, Rule 11 -- avoid redirection: provides warnings and alternative methods for using redirection.

Chapter 12, Rule 12: Remove Duplicate Scripts reveals what happens if a script is already ded twice in a page.

Chapter 12, rule 12 -- remove duplicate scripts: displays what happens if a page contains two identical scripts.

Chapter 13, Rule 13: Configure ETags describes how ETags work and why the default implementation is bad for anyone with more than one web server.

Chapter 13, rule 13 -- configure ETag: describes how ETag works and why it is poor for any website with more than one Web server.

Chapter 14, Rule 14: Make Ajax Cacheable emphasizes the importance of keeping these performance rules in mind when using Ajax.

Chapter 14, rule 14-make Ajax cacheable: emphasize the importance of these performance rules when using Ajax.

Chapter 15, Deconstructing 10 Top Sites gives examples of how to identify performance improvements in real-world web sites.

Chapter 2 analyzes the top ten websites and provides some examples of how to determine the real-world website performance improvement.

 

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.