修改BUG:缓存设置无效,增加SetOmitVaryStar设置

This commit is contained in:
Argo-Lenovo 2017-01-06 11:37:52 +08:00
parent 350c85cc1d
commit caa8cd3c3a
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ namespace Bootstrap.Admin.Controllers
[OutputCache(CacheProfile = "IconView")]
public PartialViewResult IconView()
{
Response.Cache.SetOmitVaryStar(true);
return PartialView("IconView");
}
/// <summary>