4 ms·
The author of this draft is also the author of H2O (an HTTP/2 webserver). IMO the cool thing about this RFC is that you can put an HTTP/2 proxy that understand
by tenderlove 9y ago
The author of this draft is also the author of H2O (an HTTP/2 webserver). IMO the cool thing about this RFC is that you can put an HTTP/2 proxy that understands Early Hints in front of an HTTP/1 application server, and give the application server HTTP/2 push without needing to "HTTP/2 enable" the application server.
We added early hints support to Puma:
https://github.com/puma/puma/pull/1403 https://github.com/puma/puma/pull/1403
Then added early hints to Rails:
https://github.com/rails/rails/pull/30744 https://github.com/rails/rails/pull/30744
Such that if you run H2O (or any webserver that supports early hints) in front of Rails, you can get asset push support for free. eileencodes wrote a great blog post about her work on this:
http://eileencodes.com/posts/http2-early-hints/ http://eileencodes.com/posts/http2-early-hints/