11 ms·
I wonder how well will a reverse http/2-proxy, in front of a http/1-server will behave
by _lce0 12y ago
I wonder how well will a reverse http/2-proxy, in front of a http/1-server will behave
- andrewstuart2 12y agoIt could be rather complex, but almost certainly will still help. It could, for example, heuristically process the script tags as HTML passes back through it to the client, make optimistic requests to the HTTP/1 server (presumably at a much lower latency than the client), then push those documents down to the client. And of course, it could also cache that knowledge and do it all instantly.
- floatboth 12y agonghttpx, the proxy from the nghttp2 package, turns rel=preload links from the Link header into server push: https://nghttp2.org/documentation/nghttpx.1.html#server-push https://nghttp2.org/documentation/nghttpx.1.html#server-push