nginx - missing etag when gzip is used

前端 未结 1 493
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-04 10:24

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 v

相关标签:
1条回答
  • 2021-01-04 10:53

    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.

    0 讨论(0)
提交回复
热议问题