修改BUG:缓存设置无效,增加SetOmitVaryStar设置
This commit is contained in:
parent
350c85cc1d
commit
caa8cd3c3a
|
@ -87,6 +87,7 @@ namespace Bootstrap.Admin.Controllers
|
||||||
[OutputCache(CacheProfile = "IconView")]
|
[OutputCache(CacheProfile = "IconView")]
|
||||||
public PartialViewResult IconView()
|
public PartialViewResult IconView()
|
||||||
{
|
{
|
||||||
|
Response.Cache.SetOmitVaryStar(true);
|
||||||
return PartialView("IconView");
|
return PartialView("IconView");
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue