The Hypertext Transfer Protocol, or HTTP, defines how data travels on the web, including the billions of web page requests happening each day. HTTP/2 is the most significant upgrade to the protocol in 20 years. The new standard is more efficient, which means faster, safer web traffic. HTTP/2 in Action introduces HTTP/2 and teaches you everything you need to use it effectively!
"Good coverage on topics and very well explained."
~ Sandeep Khurana
"A fantastic overview of HTTP/2, giving a solid foundation for those who are less familiar with it, and builds up from there."
~ Matt D.
"The detail and well thought explanations were great."
~ Justin Coulston
Part 1: Moving to HTTP/2
1. Web Technologies and HTTP
1.1. How the web works
1.1.1. The Internet versus the World Wide Web
1.1.2. What happens when you browse the web?
1.2. What is HTTP?
1.2.1. Introduction to HTTP
1.2.2. Basic HTTP Request Syntax
1.3. The Syntax and History of HTTP
1.4. Introduction to HTTPS
1.4.1. HTTPS and HTTP
1.5. Tools for viewing, sending and receiving HTTP messages
1.5.1. Using Developer tools in Web Browsers
1.5.2. Using Browsers to Send HTTP Requests
1.5.3. Other tools for view HTTP Requests
2. Road to HTTP/2
2.1. HTTP/1.1 and the current World Wide Web
2.1.1. HTTP/1.1 has a fundamental performance problem.
2.1.2. Pipelining for HTTP/1.1
2.1.3. Waterfall Diagrams for Web Performance Measurement
2.2. Workarounds for HTTP/1.1 Performance issues
2.2.1. Use Multiple HTTP Connections
2.2.2. Make Fewer Requests
2.2.3. HTTP/1 Performance Optimizations Summary
2.3. Other issues with HTTP/1.1
2.4. Real World Examples
2.4.1. Example Website 1 - Amazon.com
2.4.2. Example Website 2 - Imgur.com
2.4.3. How much of a problem is this really?
2.5. Moving on from HTTP/1.1 to HTTP/2
2.6. What HTTP/2 means for Web Performance
2.6.1. Extreme Example of the Power of HTTP/2
2.6.2. Setting Expectations of HTTP/2 Performance Gains
2.6.3. Performance Workarounds for HTTP/1.1 are Becoming Anti-Patterns.
3. Upgrading to HTTP/2
3.1. HTTP/2 Support
3.1.1. HTTP/2 Support on Browser Side.
3.1.2. HTTP/2 Support for Servers
3.1.3. Fallback when HTTP/2 is not supported
3.2. How to enable HTTP/2 for your website
3.2.1. HTTP/2 on your Web Server
3.2.2. HTTP/2 with a Reverse Proxy
3.2.3. HTTP/2 through a CDN
3.2.4. Implementing HTTP/2 Summary
3.3. Troubleshooting HTTP/2 setup
Part 2: The HTTP/2 protocol in detail
4. The HTTP/2 Protocol
5. Advanced HTTP/2 concepts
Part 3: Using HTTP/2 Effectively
6. Optimizing for HTTP/2
7. Implementing HTTP/2 Server Push
8. Tools for Debugging HTTP/2
Part 4: What next for HTTP?
9. The future of HTTP
Appendix A: Upgrading common web servers to HTTP/2
A.1. Upgrading your web server to support HTTP/2
A.1.3. Microsoft Internet Information Services (IIS)
A.1.4. Other Servers
A.2. Setting up HTTP/2 via a Reverse Proxy Server
About the Technology
The Hypertext Transfer Protocol—HTTP—defines how data travels on the web and allows websites and browsers to send instructions, and hints to each other. It's the foundation of how we interact with the world wide web, and after 20 years it's finally gotten a major upgrade. HTTP/2 introduces request multiplexing and request prioritization, which allows the web to to handle the ever increasing traffic that makes up modern websites better and header compression, which reduces the overall volume of data in transit with each web request. The new protocol also offers better support for modern techniques not anticipated by the original standard, such as server push.
About the book
HTTP/2 in Action is a complete guide to HTTP/2, one of the core protocols of the web. Because HTTP/2 has been designed to be easy to transition to, including keeping it backwards compatible, so adoption is already rapid and only expected to increase over the next few years. Concentrating practical matters, this interesting book presents key HTTP/2 concepts such as frames, streams, and multiplexing and explores how they affect the performance and behavior of your web sites. You'll learn what you need to change and how to deal with a web-in-transition as more sites begin to use the new protocol. With the ready-to-implement tips and best practices on everything from server push to debugging, this book is sure to get you—and your websites—up to speed with HTTP/2!
- Upgrading to HTTP/2
- Frames, streams, and multiplexing
- Implementing server push