- Category: Blog
- Written by Constantin Oesterling
- Hits: 1875
JavaPipe Website Now Supports HTTP/2 Protocol
Today we implemented support for the new HTTP/2 (Hyper Text Transfer Protocol Version 2, initially named HTTP/2.0) including ALPN protocol negotiation for JavaPipe.com to keep up with the latest technology trends.
HTTP/2 is the new World Wide Web protocol that supersedes the old HTTP/1.1 protocol which has been around for more than a decade. It only works with encrypted HTTPS connections, unlike HTTP/1.1 which also supported plain HTTP connections.
Advantages of HTTP/2
You probably wonder what makes HTTP/2 superior to the older HTTP protocols, such as HTTP/1.1 and HTTP/1.0. Here is a short overview:
- Multiplexing: Processing of multiple requests over a single TCP connection for awesome performance
- Data Compression: Compression of HTTP headers for minimal overhead
- Prioritization: Prioritizing of HTTP requests
- Server Push: Server can send data it knows the client needs without the client having to request each resource separately
- Encryption: HTTPS encryption is mandatory with HTTP/2, which insures secure communication
As you can see most improvements are related to performance. Here's how JavaPipe.com is doing with HTTP/2. Although we also use a fine-tuned ngx_pagespeed, which further reduced the required requests for a full page load from 50 to 24 and the size of the transferred data from more than 600KB to a bit more than 400KB:
Considering our design consists of a fair number of resources, a loading time of less than one second is a good result.
Browser Support of HTTP/2
By now the majority of browsers support the HTTP/2 protocol already. This includes, but is not limited to: Chrome, Firefox, Safari, Opera, Internet Explorer.
If you're not sure if your browser supports it yet, we recommended you check out the list on Wikipedia.
How You Can Benefit From HTTP/2
You're probably thinking: Great that your website supports HTTP/2, but what about mine?
There's good news for you too. We didn't only migrate our own website to HTTP/2, but also scripted a new setup for our fully managed hosting solutions that comes with HTTP/2 support.
If you don't have one yet, you can request to use our new CentOS 7 setup instead of CentOS 6 after order, which comes with HTTP/2 support by default as well as more bleeding edge components, such as:
- NGINX 1.9.9 with HTTP/2 Support, HSTS, PFS and ngx_pagespeed
- Apache 2.4
- PHP 5.6
- MariaDB 5.5
- WAF (Web Application Firewall)
- Advanced Layer 7 DDoS Protection
...and all other features that our managed hosting solutions have!