I have tried modifying some of the simple examples documented in the http.push chapter, however push never seems to happen.
As an example, my site is currently configured to push several JS files once a request is made for https://quic.stream/assets/css/main.css, however I don’t see a push happen over either HTTP/2 or QUIC.
I don’t have my Caddyfile to hand but it is suite simple, just TLS and gzip enabled. QUIC is enabled via a command line option.
I’m using Ubuntu 16.04 and installed Caddy via installation script. journalctl doesn’t report any error, I’m unsure if there are other logs to check for debug info.
I’m sure that I did not see push working for HTTP/2 but just retesting now in a Chrome instance (that cannot talk UDP), I see that main.css is being reported as pushed. Firefox is refusing to negotiate HTTP/2…
Since I’m seeing inconsistent results, I’ll do some more testing…