IIS 7.x cache optimizations
I find myself searching for this information over and over again for each web site I develop, so I guess I must blog this topic to remember it from now on. IIS 7 has a very powerful caching framework, but some of the defaults are in my opinion not very well thought for modern web applications. For example: by default Javascript files are not compressed with GZIP, and cache location for static content is not public by default. So, if you use T4MVC, SquishtIt, or any other means to link to your static files with a timestamp then you might want to use settings along these lines: ...