Add Support for Variant ETags

Maxim Dounin mdounin at mdounin.ru
Fri Dec 13 16:17:44 UTC 2013


Hello!

On Fri, Dec 13, 2013 at 09:59:16AM -0500, Jeff Kaufman wrote:

> On Fri, Dec 13, 2013 at 6:12 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> > gzipping may result in many different byte representations of
> > a resource.  Strict entity tags aren't allowed as a result.
> >
> 
> Is gzip deterministic, where you only get different byte
> representations with different gzip settings?  If so we could include
> the gzip settings (or a hash of them) in the etag.

No, it's not, at least if flushes are done.

As already suggested, I belive the correct solution is to 
downgrade entity tags to weak ones.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx-devel mailing list