Note that there are some explanatory texts on larger screens.

plurals
  1. POIIS 7.5 remove etag headers from response
    text
    copied!<p>I know this question has been asked alot of times, however most of them were in 2009-2010.</p> <p>I am pretty sure a while back a project I was working on removed them, however I cannot find any way to remove them at the moment.</p> <p>So has there been any advances in this field? It seems crazy that microsoft has made IIS to not be able to easily configure these headers.</p> <p>Currently have tried:</p> <ul> <li>Adding a blank etag header to the web.config</li> <li>Adding an etag with quotes inside to the web.config</li> <li>Adding a blank etag header directly through IIS</li> <li>Adding a custom module which removes an etag on BeginResponse</li> <li>Same as above but for EndResponse</li> <li>Same as both above but instead of removing an etag, make it empty</li> </ul> <p>I hear there is an ISAPI filter you can get to remove them, but I cannot find it anywhere, and have no experience in writing one from scratch but may end up being the only way to do it.</p> <p>Just so there is some reason why I want to remove Etags for everything. I let the clients cache everything (expires &amp; last-modified) so once my static files are gotten from the server it never needs to query the server again until it expires. As if you use Etags you still need to make a request to the server for each file to find out if the tag still matches. So using the client cache you only make requests for the content you need. </p> <p>I also have a versioning system in place so when a change happens the static content is then referenced as <strong>my.js?12345</strong> rather than <strong>my.js?12344</strong>. Anyway the point is I currently believe removing Etags will greatly improve one of the bottlenecks on my current project.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload