What is HTTP2
Hyper Text Transfer Protocol (HTTP) is the series of steps that web browsers communicate with web servers.
Each version of HTTP defines different features that can be used in these communications, things like compression, encryption, does the connection stay open between requests, how much data can be sent at a time, etc.
HTTP2 is the latest version of HTTP and brings with it multiple benefits:
This allows multiple files to be downloaded on a single connection to the server, skipping the need for reconnecting and tearing down the underlying connection for each file.
From a practical standpoint HTTP/2 is only enable for HTTPS/TLS secured connections increasing data security.
If a client can’t connect via HTTP2 it will seamlessly fall back to using HTTP1 making it very safe to switch.
Each request / response cycle from the browser to the server sends and receives a large number of headers. These headers specify everything from security options the browser should take to what language should be used.
Prior to HTTP2 these headers were not optimally compressed leading to bloated responses to even relatively small requests.
What you need to get started:
- Expedited WAF add-on is setup in front of your application.
How To Enable HTTP2 on Heroku
Enable HTTP/2 (“SPDY”) from the Site Speed Up page of your Expedited WAF dashboard:
- “SPDY” was a Google specific HTTP protocol which was an immediate precursor to HTTP2. Some additional features were added to it and it’s been ratified by the IETF as HTTP2
- HTTP2 (and site speed generally) are considered to be a SEO ranking factor
Learn more about HTTP2
If you need help with improving your application's security, you can Book a Demo (free) to talk to a security engineer about your application security and compliance requirements. If you're ready to go, you can add the Expedited WAF add-on to your Heroku application in about 15 minutes.