Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Yes, 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?


I was interested in multiplexing and I got that, as well as a big increase in performance serving static content.


You can push by sending Link/preload headers, which will be turned into requests by the proxy.


Push is hardly the biggest benefit of HTTP/2 over HTTP/1.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: