[PATCH] append "-gzip" to etags processed by gzip_filter_module + not modified support

Maxim Dounin mdounin at mdounin.ru
Wed May 28 11:22:51 UTC 2014


On Wed, May 28, 2014 at 04:26:04PM +0930, Andrew Williams wrote:

> this patch modifies the etag header returned by responses processed by
> the gzip filter, appending "-gzip" to the etag (instead of deleting
> it). Also, If-None-Match and If-Match requests work against the
> modified etag.
> (the gunzip module appends "-gunzip" to the etag).

This approach is wrong, as resources with the same etag are not 
guaranteed to be equal.

See, e.g., here for previous discussions:


See here about plans:


Maxim Dounin

More information about the nginx-devel mailing list