I would like to point out that “vary: accept-encoding” is set in the website’s response header for brotli and gzip compressed content, but not for uncompressed content.
Compare output of:
❯ curl -fsS -I https:/// | grep -i “vary:”
… with that of:
❯ curl -fsS -I --compressed https:/// | grep -i “vary:”
I have set “Vary: Accept-Encoding” in my “_headers” file to solve this.