本書圍繞如何構(gòu)建高性能Web站點,從多個方面、多個角度進行了全面的闡述,幾乎涵蓋了Web站點性能優(yōu)化的所有內(nèi)容,包括數(shù)據(jù)的網(wǎng)絡(luò)傳輸、服務(wù)器并發(fā)處理能力、動態(tài)網(wǎng)頁緩存、動態(tài)網(wǎng)頁靜態(tài)化、應(yīng)用層數(shù)據(jù)緩存、分布式緩存、Web服務(wù)器緩存等等。在這些內(nèi)容中充分抓住本質(zhì)并結(jié)合實踐,讓讀者充分并深入理解高性能架構(gòu)的真相。
Preface
1. The Mobile Web World
Form Factors
Mobile Hardware
Mobile Networks
Mobile Operating Systems
Engines
Rendering Engines
Execution Engines
Web Platforms
Web Apps
lOS Home Screen Web Apps
Chrome Home Screen Web Apps
Progressive Web Apps
Summary of Web Apps
Web Views
Native Web Apps
In-App Browsers
Pseudo-Browsers
The Web View on iOS
The Web View on Android
The Web View on Windows
Summary of Web Views
Web Browsers
Stats
Cloud Versus Direct Browsers
Stock Browsers
iOS Browsers
Android Browsers
Windows Browsers
The Mobile Web Is Not Just a Narrow Viewport
2. Where to Measure Performance
Simulators and Emulators
Android
Safari on iOS
Internet Explorer
Microsoft Edge
Real Devices
Open Device Lab
Cloud-Based Services
Network Connection
Desktop Simulators
On-Device Connection Simulators
Selecting Where to Measure Is Important
3. Web Performance Basics
Loading Measurement Basics
The Waterfall Chart
Filmstrip
The HAR Format
Speed Index
What to Measure
Custom Metrics
The RAIL Approach
Responsiveness Measurement Basics
Frames per Second
Profiling Charts
CPU Profiling
Memory Profiling
Mixed Profiling
You Can't Improve Something If You Don't Measure It
4. Measurement Tools
Remote Inspectors
Safari on lOS
Chrome for Android
Internet Explorer and Edge
Vorlon.js
5. Performance APls
6. Optimizing for the First Visit
7. Optimizing After First Load
8. Optimizing Responsiveness and the Post-Loading Experience
9. Responsive Web Design
10. Extreme Mobile Web Performance
11. The Native Side of the Web
12. Mobile Web Performance Checklist
Index