4 ms·
I tried that before but it is very slow compared to native https module [1] In the end though I added Nginx to my app container to be an HTTPS2 proxy and to se
by gbuk2013 9y ago
I tried that before but it is very slow compared to native https module [1]
In the end though I added Nginx to my app container to be an HTTPS2 proxy and to serve static files instead - much better performance :)
[1] https://github.com/spdy-http2/node-spdy/issues/304 https://github.com/spdy-http2/node-spdy/issues/304
- tannhaeuser 9y agoYes, but that kind of setup doesn't give you HTTP/2 server push so gives you hardly any benefit over HTTP/1.1, does it?
- gbuk2013 9y agoI was interested in multiplexing and I got that, as well as a big increase in performance serving static content.
- spankalee 9y agoYou can push by sending Link/preload headers, which will be turned into requests by the proxy.
- coldtea 9y agoPush is hardly the biggest benefit of HTTP/2 over HTTP/1.