开发者

Yslow performance improvements in the web.config

开发者 https://www.devze.com 2023-01-22 12:24 出处:网络
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:

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号