Wiki: ignites, HTTP2 in 5 Minutes
For agents: Markdown version · Wiki index · Explore
- Speaker: Ben Maraney
- Event: Reversim Summit 2015
- Video: https://www.youtube.com/watch?v=fJ0C4zN5uOQ
- Transcript: /transcripts/2015/09-fJ0C4zN5uOQ.md
- Language: English · Type: ignite · Level: intermediate
- Topics: Networking, Frontend, Performance
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker explores the limitations of HTTP/1.1 and how round-trip time constraints led developers to adopt various hacks like domain sharding and asset concatenation. The talk introduces the new HTTP/2 standard, highlighting its binary framing, multiplexing, and server push capabilities. Ultimately, the audience learns how these new features solve network bottlenecks and will eventually replace outdated web optimization hacks.
Key points
- 0:08 The speaker introduces HTTP/2 as a newly standardized protocol designed to fix the inefficiencies of HTTP/1.1.
- 1:19 HTTP/1.1 is bottlenecked by round-trip times, leading developers to use hacks like connection sharding.
- 2:23 Asset concatenation is another common hack used to reduce requests, but it negatively impacts browser caching.
- 2:23 HTTP/2 introduces a binary format and multiplexing, allowing multiple files to be requested and received simultaneously.
- 3:47 Advanced HTTP/2 features like server push allow servers to proactively send required assets before the client requests them.
- 4:47 Web developers will need to abandon old HTTP/1.1 hacks and adopt new best practices tailored for HTTP/2.
Takeaways
- Understand why round-trip time is a major bottleneck in web performance compared to bandwidth.
- Recognize how HTTP/2 multiplexing eliminates the need for domain sharding and asset bundling hacks.
- Explore advanced features like server push and header compression to further optimize web applications.
Questions this talk answers
- How does HTTP/2 multiplexing solve the head-of-line blocking problem present in HTTP/1.1?
- When should developers use server push, and how does it affect browser caching strategies?
- What traditional web performance optimization hacks should be phased out when adopting HTTP/2?
Technologies
HTTP, HTTP/2, TCP, CSS, JavaScript, HTML, Firefox, Chrome, Safari, Internet Explorer
Tags
frontend optimization, http2, networking, protocols, web performance