How do I remove eTag headers from IIS7?

后端 未结 12 2016
旧巷少年郎
旧巷少年郎 2020-12-04 07:28

Per Yahoo\'s best practices for high performance web sites, I\'d like to remove Etags from my headers (I\'m manually managing all my caching and have no need for Etags... an

12条回答
  •  天涯浪人
    2020-12-04 08:06

    We had this problem, and even setting a blank custom ETag header in IIS 7 was not working for all files (for example image files). We ended up creating an HttpModule that explicitly removes the ETag header.

提交回复
热议问题