增加图标页面的缓存处理
This commit is contained in:
parent
fbc6fa3b1d
commit
0a9a342f2b
|
@ -84,6 +84,7 @@ namespace Bootstrap.Admin.Controllers
|
|||
///
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[OutputCache(CacheProfile = "IconView")]
|
||||
public PartialViewResult IconView()
|
||||
{
|
||||
return PartialView("IconView");
|
||||
|
|
|
@ -66,6 +66,15 @@
|
|||
<licenseManagement licenseKey="4q01gzG5cWBr2moT7/9pMProPA0BIHpWimETcWj/gAutBuPANJR1uSrTbrdxyNWl" permissionKey="FB457BEDB2D84B091B1C4C8AA0F06D77"/>
|
||||
|
||||
<system.web>
|
||||
<caching>
|
||||
<outputCache enableOutputCache="true"></outputCache>
|
||||
<outputCacheSettings>
|
||||
<outputCacheProfiles>
|
||||
<add name="IconView" duration="3600" location="Client" />
|
||||
</outputCacheProfiles>
|
||||
</outputCacheSettings>
|
||||
</caching>
|
||||
|
||||
<compilation debug="true" targetFramework="4.5"/>
|
||||
<httpRuntime targetFramework="4.5"/>
|
||||
<authentication mode="Forms">
|
||||
|
|
Loading…
Reference in New Issue