🚀 Enable HTTP2
See original GitHub issueHTTP2 is now a widely adopted technology, it would be cool to enable it. It has some advantages:
- Single Connection. Only one connection to the server is used to load a website, and that connection remains open as long as the website is open. This reduces the number of round trips needed to set up multiple TCP connections.
- Header Compression. HTTP/2 uses HPACK compressions, which reduces overhead. Many headers were sent with the same values in every request in HTTP/1.1.
- Multiplexing. Multiple requests are allowed at the same time, on the same connection. Previously, with HTTP/1.1, each transfer would have to wait for other transfers to complete
There are two steps to enable it:
- in
application_prod.yml
andapplication_dev.yml
, the parameterjhipster.http.version
has to be changed toV_2_0
- the nginx configuration has to be updated to support http2. It should be as easy as adding
http2
to the SSL listener, something likelisten 443 ssl http2;
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Configuration for HTTP/2 - WP Rocket Knowledge Base
If your site runs on HTTP/2, here are the things you should consider for WP Rocket. Not sure if your site uses HTTP/2?...
Read more >What Is HTTP/2 And How Do I Enable it on WordPress? (2021)
Yes, you should enable and use HTTP2 on your website if you can. HTTP2 will make your website faster and there are absolutely...
Read more >How and Why You Should Enable HTTP2 on Web Servers
In Google Chrome, go to Developer Tools (Ctrl+Shift+I) and right-click on any of the tabs that appear such as name, status, type, size,...
Read more >How to easily add SSL and HTTP/2 to your site for free
Step 1: Enable Cloudflare ... To enable Cloudflare in WP Rocket, go to the Settings and click on the CDN tab. Check the...
Read more >What is HTTP/2 – The Ultimate Guide - Kinsta
Binary frame formats enable the exchange of multiple, concurrently open, independent bi-directional sequences without latency between successive ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We use it already 😃 Have a look into the chrome console when connecting to test or production server, it is handled by nginx, therefore there is no configuration in the Artemis Server any more. I am not sure how internal communication between nginx and Artemis is handled and whether we use http2 here or not. Maybe @jpbernius can answer this…
Both jhipster and nginx are configured to use http2.