1

Running my site on IIS7 and looking to improve my Yslow rating. Working with asp.net.

I am able to cache static resources in the web.config but is it possible to the following also:

Set the etag on the resources eg. javascript, images, css files etc Add expires header to the above static resources Set gzipping on components

Previously I use to use httphandlers to achieve the above but if its possible to set it up in the web.config it would be great.

amateur
  • 43,371
  • 65
  • 192
  • 320

1 Answers1

1

As far as I'm aware you cannot set your etag values in your web.config and have it work. Check out How do I remove eTag headers from IIS7? for more information. You can try setting a blank etag via IIS however to remove it completely.

Community
  • 1
  • 1
Drew Freyling
  • 1,258
  • 13
  • 14