Skip to content

bahmutov/http2-push-example

Repository files navigation

http2-push-example

Example server showing HTTP/2 Push for Zeit deploy

See blog post GETTING STARTED WITH HTTP/2 AND SERVER PUSH

Result

Same HTTP2 Node server using spdy and TLS terminator proxy bud - thanks to Fedor Indutny for writing both - this combo has server push available and can stream the images in the page much much faster to the client.

On the right, same server, but NGINX proxy, which does not implement HTTP/2 proxying, see issue. Thus the server cannot push images in the same stream to the client.

HTTP/2 Push

About

Example server showing HTTP/2 Push for Zeit deploy

Resources

Stars

Watchers

Forks

Packages