When does Caddy auto add Vary Accept-Encoding header?

Ah right - curl -I is the HEAD method. There’s nothing to gzip on HEAD. If you make a GET request it’ll be gzipped.

For next time, best to use curl -v, we get more info that way (request headers are printed)

1 Like