How to make IIS7 stop adding etag to response headers?

Posted by user20028 on Server Fault See other posts from Server Fault or by user20028
Published on 2009-09-20T23:54:20Z Indexed on 2010/03/31 1:03 UTC
Read the original article Hit count: 341

Filed under:

For performance reasons, I'm using expire headers for static files (adding long expiration periods like 50 years or so).

Now I'm trying to get rid of etag headers which are automatically added by IIS7. I've done some searching but it seems harder than what I thought (there doesn't seem to be a straight forward way). I found some workarounds but they all use httpmodules (which I'm keeping as a last resort). I strongly prefer to not get the etag header added in the first place. Did anyone manage to do this?

Thanks

© Server Fault or respective owner

Related posts about iis7