© Ilya Grigorik
Performance is a feature. This book provides a hands-on overview of what
every web developer needs to know about the various types of networks (WiFi,
3G/4G), transport protocols (UDP, TCP, and TLS), application protocols
(HTTP/1.1, HTTP/2), and APIs available in the browser (XHR, WebSocket,
WebRTC, and more) to deliver the best—fast, reliable, and resilient—user
experience.
Ilya Grigorik is a web performance engineer at Google and co-chair of the
W3C Web Performance Working Group. Follow him on his blog and Twitter for the latest web performance
news, tips, and talks.
§Table of Contents
Networking 101
Primer on Latency and
Bandwidth
Building Blocks of TCP
Building Blocks of UDP
Transport Layer Security
(TLS)
Encryption, Authentication, and Integrity
HTTPS
Everywhere
TLS
Handshake
TLS Session
Resumption
Chain of Trust and Certificate Authorities
Certificate
Revocation
TLS Record
Protocol
Optimizing for
TLS
Reduce
Computational Costs
Enable
1-RTT TLS Handshakes
Optimize
Connection Reuse
Leverage
Early Termination
Configure Session Caching and Stateless Resumption
Enable
TLS False Start
Optimize
TLS Record Size
Optimize the Certificate Chain
Configure
OCSP Stapling
Enable HTTP Strict Transport Security (HSTS)
Enable HTTP Public Key Pinning (HPKP)
Update
Site Content to HTTPS
Performance
Checklist
Testing
and Verification
Performance of Wireless Networks
Introduction to
Wireless Networks
WiFi
Mobile Networks
Optimizing for Mobile
Networks
HTTP
Brief History of HTTP
Primer on Web Performance
HTTP/1.X
HTTP/2
Optimizing Application
Delivery
Browser APIs and Protocols
Primer on Browser
Networking
XMLHttpRequest
Server-Sent Events (SSE)
WebSocket
WebRTC
§About the author