DEV Community

Discussion on: Is HTTP/2 really worth it?

 
rhymes profile image
rhymes

Ah, so it is the web server (Puma) not the framework (Rails) that does not support HTTP/2

Yes you can proxy with a HTTP/2 web server but you have to terminate the HTTP/2 connection at the proxy.

Rack (the underlying specification/interface) was designed for HTTP/1.1.

The good news is that they recently implemented early hints in Rails 5.2 and Puma

Python has a similar problem with WSGI based web servers.

Sounds like HTTP/2 in dev. is a no go for now in this situation. I would still push got HTTPS in dev. 'cause security.

What do you mean?

Thread Thread
 
david_j_eddy profile image
David J Eddy

Blurry eyed mornings :|.

Thank you for the info. about Rails. Something I was not aware of. Nice that the up coming 5.2/Puma release will address this short coming. I look forward to reading up on it.