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
Need this for your Heroku App?
Find out how Expedited WAF can immediately improve your security posture, reliability and site speed. Book a time to get started or jump in on the Heroku Elements Marketplace.