Welcome! Log In Create A New Profile

Advanced

Re: Accept-Encoding: gzip and the Vary header

Xavier Noria
June 04, 2015 05:52AM
On Thu, Jun 4, 2015 at 10:56 AM, Jason Woods <devel@jasonwoods.me.uk> wrote:

An HTTP/1.1 server SHOULD include a Vary header field with any
> cacheable response that is subject to server-driven negotiation.
> Doing so allows a cache to properly interpret future requests on that
> resource and informs the user agent about the presence of negotiation on that resource.
>
>
You are right, and the section about server-driven negotiation

http://tools.ietf.org/html/rfc2616#page-72

explicitly mentions Accept-Encoding as an example. So case closed.

Next question is: why is gzip_vary off by default? Isn't the most common
case that you want it enabled?

Xavier

PS: In my next reencarnation I promise to only work on specs written as
axiomatic systems.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Accept-Encoding: gzip and the Vary header

Xavier Noria June 04, 2015 03:18AM

Re: Accept-Encoding: gzip and the Vary header

Jason Woods June 04, 2015 04:58AM

Re: Accept-Encoding: gzip and the Vary header

Xavier Noria June 04, 2015 05:52AM

Re: Accept-Encoding: gzip and the Vary header

Maxim Dounin June 04, 2015 09:12AM

Re: Accept-Encoding: gzip and the Vary header

Xavier Noria June 04, 2015 09:44AM

Re: Accept-Encoding: gzip and the Vary header

Maxim Dounin June 04, 2015 10:26AM

Re: Accept-Encoding: gzip and the Vary header

Xavier Noria June 04, 2015 03:38PM

Re: Accept-Encoding: gzip and the Vary header

Xavier Noria June 04, 2015 03:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready