gzip_disable doesn't disable gzip_vary

Edho Arief edho at myconan.net
Fri Mar 2 10:15:07 UTC 2012

2012/3/2 Maxim Dounin <mdounin at mdounin.ru>:
> This is intentional, "Vary" is returned whenever gzip (and
> gzip_vary) is enabled, as response representation depends on
> header(s) listed.
> Strictly speaking, it should also include User-Agent in case of
> gzip_disable defined.

Shouldn't there be no change to header at all when client user agent
matches the gzip_disabled (ie. just like with gzip off)?

More information about the nginx mailing list