[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


Hello!

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:

http://mailman.nginx.org/pipermail/nginx-devel/2012-November/003004.html

See here about plans:

http://mailman.nginx.org/pipermail/nginx-devel/2014-April/005231.html

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



More information about the nginx-devel mailing list