内容简介
你为搭建快速而又的Web应用做了多少准备? 从可能影响性能的基础架构局限性到搭建更强大浏览器应用的诸多创新技术一一包括HTTP 2.0和xHR改进、服务器发送事件(SSE)、 WebSocket 以及WebRTc,格里戈利克编著的《高性能浏览器网络 (影印版)》这本具有说服力的书籍为每一名Web开发人员提供了其所应该了解的关于网络的方方面面。
作为一名Google的Web性能工程师,作者Ilya Grigorik展示了针对 TCP、UDP和TLS协议的性能优化实践,他还解释了无线和移动网络优化特有的需求。接下来你会深入了解各种技术的性能特性,包括HTTP 2.0、基于xHR的客户端网络脚本、基于SSE和 WebSocket的实时数据流以及基于WebRTC的P2P通信。
目录
Foreword
Preface
Part I. Networking101
1. Primer on Latency and Bandwidth
Speed Is a Feature
The Many Components of Latency
Speed of Light and Propagation Latency
Last-Mile Latency
Bandwidth in Core Networks
Bandwidth at the Network Edge
Delivering Higher Bandwidth and Lower Latencies
2. Building Blocks of KP
Three-Way Handshake
Congestion Avoidance and Control
Flow Control
Slow-Start
Congestion Avoidance
Bandwidth-Delay Product
Head-of-Line Blocking
Optimizing for TCP
Tuning Server Configuration
Tuning Application Behavior
Performance Checklist
3. Building BI0cksofUDP
Null Protocol Services
UDP and Network Address Translators
Connection-State Timeouts
NAT Traversal
STUN, TURN, and ICE
Optimizing for UDP
4. Transport Layer Security (TLS)
Encryption, Authentication, and Integrity
TLS Handshake
Application Layer Protocol Negotiation (ALPN)
Server Name Indication (SNI)
TLS Session Resumption
Session Identifiers
Session Tickets
Chain of Trust and Certificate Authorities
Certificate Revocation
Certificate Revocation List (CRL)
online Certificate Status Protocol (OCSP)
TLS Record Protocol
Optimizing for TLS
Computational Costs
Early Termination
Session Caching and Stateless Resumption
TLS Record Size
TLS Compression
Certificate-Chain Length
OCSP Stapling
HTTP Strict Transport Security (HSTS)
Performance Checklist
Testing and Verification
Part II. Performance of Wireless Networks
5. Introduction to Wireless Networks
Ubiquitous Connectivity
Types of Wireless Networks
Performance Fundamentals of Wireless Networks
Bandwidth
Signal Power
Modulation
Part III. HTTP
Part IV. Browser APIs and Protocols
Index