本书围绕如何构建高性能Web站点,从多个方面、多个角度进行了全面的阐述,几乎涵盖了Web站点性能优化的所有内容,包括数据的网络传输、服务器并发处理能力、动态网页缓存、动态网页静态化、应用层数据缓存、分布式缓存、Web服务器缓存等等。在这些内容中充分抓住本质并结合实践,让读者充分并深入理解高性能架构的真相。
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