HTTP/2 improved upon the HTTP 1.1 protocol and made its entry in 2015 to keep up with the growing demands of the internet. It brought with it amazing improvements in speed, efficiency, and security.
The performance increase with HTTP/2 is due to multiple reasons:
- Better multiplexing and parallelism over a single TCP connection.
- HPACK compression for headers with Huffman encoding algorithm.
- ALPN extension for faster encryption.
- Proactive server pushes instead of waiting for requests.
All that jazz amounts to one crucial advantage: making websites load faster, even when they host various types of resources.
Typically, WooCommerce stores serve a lot of resource-heavy assets such as images, stylesheets, and scripts. Sites like these will benefit greatly by switching to HTTP/2.