你為搭建快速而又高效的Web應(yīng)用做了多少準(zhǔn)備? 從可能影響性能的基礎(chǔ)架構(gòu)局限性到搭建更強(qiáng)大瀏覽器應(yīng)用的諸多創(chuàng)新技術(shù)一一包括HTTP 2.0和xHR改進(jìn)、服務(wù)器發(fā)送事件(SSE)、 WebSocket 以及WebRTc,格里戈利克編著的《高性能瀏覽器網(wǎng)絡(luò) (影印版)》這本具有說(shuō)服力的書籍為每一名Web開(kāi)發(fā)人員提供了其所應(yīng)該了解的關(guān)于網(wǎng)絡(luò)的方方面面。
作為一名Google的Web性能工程師,作者Ilya Grigorik展示了針對(duì) TCP、UDP和TLS協(xié)議的性能優(yōu)化最佳實(shí)踐,他還解釋了無(wú)線和移動(dòng)網(wǎng)絡(luò)優(yōu)化特有的需求。接下來(lái)你會(huì)深入了解各種技術(shù)的性能特性,包括HTTP 2.0、基于xHR的客戶端網(wǎng)絡(luò)腳本、基于SSE和 WebSocket的實(shí)時(shí)數(shù)據(jù)流以及基于WebRTC的P2P通信。
Ilya Grigorik是一名Google公司的Web性能工程師和開(kāi)發(fā)人員,他主要負(fù)責(zé)通過(guò)搭建和推動(dòng)采用Google內(nèi)外部的性能最佳實(shí)踐來(lái)使得Web訪問(wèn)更為迅速。
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 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