Moves more cache classes

This commit is contained in:
Shannon
2019-11-07 18:50:14 +11:00
parent 1193d8fecd
commit 2a8b505a66
8 changed files with 8 additions and 20 deletions

View File

@@ -1,6 +1,5 @@
using System;
using System.Web;
using System.Web.Caching;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Umbraco.Core.Cache;
@@ -46,7 +45,6 @@ namespace Umbraco.Web
return appCaches.RuntimeCache.GetCacheItem<IHtmlString>(
PartialViewCacheKey + cacheKey,
() => htmlHelper.Partial(partialViewName, model, viewData),
priority: CacheItemPriority.NotRemovable, //not removable, the same as macros (apparently issue #27610)
timeout: new TimeSpan(0, 0, 0, cachedSeconds));
}