If I setup nginx to use gzip, it removes any etag header.
The reasoning behind this is that the same resource cannot be byte-for-byte identical given that gzip has various compression levels.
But nginx also removes a weak etag, which just means that the resources are semantically equivalent. This seems like incorrect behavior by nginx.
Am I missing something? If not, is there a way to fix this?
wiki
You should upgrade to nginx 1.7.3 or higher.
Feature: weak entity tags are now preserved on response modifications, and strong ones are changed to weak.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With