Caddy: Support HTTP/2 Server Push Link headers

Created on 11 May 2016  路  6Comments  路  Source: caddyserver/caddy

Caddy could send Link headers to use both browser prefetching and CloudFlare server push https://blog.cloudflare.com/announcing-support-for-http-2-server-push-2/

feature request

Most helpful comment

This is now implemented, #1215!

All 6 comments

Could unconditional server push (indication?) become a problem, as in: browsers ignoring any pushes from hosts that they've learned use _push_ frivolously (repeatedly pushing what's already in cache)?

There's no point in blindly ignoring something the browser already received, and the browser can kill push attempts early when it notices an unfulfilled promise that it does not need.

At least for telling cloudflare to server push multiple files, you currently can't.
See: https://github.com/mholt/caddy/issues/818

I was reading an article somewhere and they said Apache and AppEngine are using Link Header (https://tools.ietf.org/html/rfc5988) to intercept from your App Server and do the HTTP/2 server push, so this seems to became the default standard for that.

Something useful for static sites is a "push manifest". This is what GAE supports apparently https://www.npmjs.com/package/http2-push-manifest

This is now implemented, #1215!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

billop picture billop  路  3Comments

treviser picture treviser  路  3Comments

kilpatty picture kilpatty  路  3Comments

wayneashleyberry picture wayneashleyberry  路  3Comments

jgsqware picture jgsqware  路  3Comments