| 作 者: | 苏德 |
| 出版社: | 东南大学出版社 |
| 丛编项: | |
| 版权说明: | 本书为公共版权或经版权方授权,请支持正版图书 |
| 标 签: | 网站开发 |
| ISBN | 出版时间 | 包装 | 开本 | 页数 | 字数 |
|---|---|---|---|---|---|
| 未知 | 暂无 | 暂无 | 未知 | 0 | 暂无 |
Foreword
Preface
A. The Importance of Frontend Performance
Tracking Web Page Performance
Where Does the Time Go?
The Performance Golden Rule
B. HTTP Overview
Compression
Conditional GET Requests
Expires
Keep-Alive
Theres More
1. Rule 1: Make Fewer HTTP Requests
Image Maps
CSS Sprites
Inline Images
Combined Scripts and Stylesheets
Conclusion
2. Rule 2: Use a Content Delivery Network
Content Delivery Networks
The Savings
3. Rule 3: Add an Expires Header
Expires Header
Max-Age and mod_expires
Empty Cache vs. Primed Cache
More Than Just Images
Revving Filenames
Examples
4. Rule 4: Gzip Components
How Compression Works
……
9. Rule 9: Reduce DNS tookups
10. Rule10:MinifyJavaScript
11. Rule 11: Avoid Redirects
12. Rule 12: Remove Duplicate Scripts
13. Rule 13:Configure Elags
14. Rule 14: Make Ajax Cacheable
15. Deconstructing 10 Top Sites
Index