Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 802 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 802 Bytes

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