Add Support for Variant ETags

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


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> 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

More information about the nginx-devel mailing list