Reverse proxy deleting ETag header from response

Maxim Dounin mdounin at
Thu Sep 12 12:46:01 UTC 2013


On Thu, Sep 12, 2013 at 08:07:00AM -0400, ochronus wrote:

> Thanks a lot for the quick response!
> Indeed, I had gzip turned on globally.
> This is still strange though, is there no way to pass the Etag header from
> the upstream in this case?

The ETag header used in it's strong from means that it must be 
changed whenever bits of an entity are changed.  This basically 
means that ETag headers have to be removed by filters which change 
a response content.

Weak ETags may be preserved, though they are not supported by 
nginx yet.  Mostly because Last-Modified is good enough 
alternative to week ETags.

Maxim Dounin

More information about the nginx mailing list