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