В IIS 7.5 я установил cacheControlMaxAge равным одному году.
<location path="Content/Images">
<system.webServer>
<staticContent>
<clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" />
</staticContent>
</system.webServer>
</location>
Согласно этому руководству: Настройка Expires и Cache-Control: заголовки max-age для статические ресурсы в ASP.NET
Однако инструмент Google PageSpeed по-прежнему сообщает, что файлы не кэшируются:
The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:
* https://local.example.com/Content/Images/image1.png (expiration not specified)
(etc)
Почему написано "срок действия не указан"?
Все веб-приложение обслуживается через https, это фактор?
Cache-Control: public
, но не упоминают об истечении срока действия, как будет называться заголовок срока действия? - person JK.   schedule 29.09.2012location path="Content"
вместоlocation path="Content/Images"
устранило проблему. - person JK.   schedule 29.09.2012