HTTP2 Server Push not working with Cloudflare

http2

#1

I am trying to push some resources from my server to client via link header:
add_header Link “</push.js>; rel=preload; as=script”

However Cloudflare just removes this header. And puts its own header instead of that:
cf-h2-pushed: </push.js>

So does Cloudflare support http2 server push or not? What plans support http2 server push via Link header?


#2

The change of header means that the resources were pushed. It is working fine, as expected.

Check with Google Chrome in the developer’s console and it should confirm.


#3

This topic was automatically closed after 14 days. New replies are no longer allowed.