高性能网站(影印版)

高性能网站(影印版)
作 者: 苏德
出版社: 东南大学出版社
丛编项:
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: 网站开发
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

  SteveSouders,雅虎的首席性能专家,编写性能分析工具并在雅虎的开发团队中推广这些工具以及最佳实践。在加入雅虎之前,steve在几个中小型的新兴公司工作过,其中包括他自己参与创办的两个公司:Helix Systems和CoolSync。他在斯坦福大学获得管理和工程的硕士学位。

内容简介

《高性能网站(影印版)》中的规則向你解释了可以怎样优化网站中包含的Ajax、CSS、JavaScript、Flash和图片。每个规则都可以在《高性能网站(影印版)》的网站上找到对应的特别例子和代码片段。这些规則包括以下内容:减少HTTP连接请求、使用内容分发网络(ContentDeliveryNetwork)、在HTTP协议头添加过期时间、把部分内容变成Gzip格式、把样式表(stylesheets)放在顶部、将脚本放在底部、避免CSS表达式、外置JavaScript和CSS、减少DNS查找、将JavaScript最小化、避免重定向连接、删除重复脚本、配置ETags、生成可缓冲Ajax、如果你在为大流量的站点编写网页并且想要优化站点访问的用户体验,这本《高性能网站(影印版)》不可或缺。

图书目录

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