0
我想在MVC网站上启用缓存,有几个建议http://www.iis.net/configreference/system.webserver/staticcontent/clientcache 关于使用IIS管理或Web.config添加条目但我很困惑。IIS 7和ASP.NET MVC客户端缓存之间的区别
1) 是否有这两个之间有什么区别,我可以选择IIS内容过期,而不是在Web.config设置:
<configuration>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
</staticContent>
</system.webServer>
</configuration>
2) 是什么输出缓存,它是如何从内容过期有什么不同?
在此先感谢。