vinaypuppal / preact-cli-plugin-netlify

Preact cli plugin for generating h2push headers and redirects rules for netlify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netlify has disabled H2 Push

azizhk opened this issue · comments

Just leaving a heads-up issue here, that Netlify has disabled H2 Push.
They are working on it:
https://twitter.com/philhawksworth/status/1156843941850992640
https://community.netlify.com/t/conditional-headers-based-on-user-agent/415

Though other features of this plugin should still be working.

Cloudflare still supports H2 Push Link Headers so if you serve using Cloudflare in front of Netlify, you should have H2 Push working. (Example: https://github.com/calavera/http2-server-push-demo)
But that would be overkill and would also create some issues for a few browsers: https://jakearchibald.com/2017/h2-push-tougher-than-i-thought/

Do make sure to leave a comment on the issue on Netlify Community Thread if you are interested in this feature from Netlify. I think they are waiting for Cache Digests to land so that they can provide good DX (no config needed) for Cache-Aware H2 Push.