62,046
社区成员
发帖
与我相关
我的任务
分享
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="CacheFiveMinute" duration="300" varyByParam="none" location="Client" noStore="true" />
</outputCacheProfiles>
</outputCacheSettings>
</caching>
[OutputCache(CacheProfile = "CacheFiveMinute")]
public ActionResult Index()
{
return View();
}