Caching RecycleBinSmells
This commit is contained in:
@@ -46,6 +46,7 @@ namespace Umbraco.Web.Cache
|
||||
public override void Refresh(JsonPayload[] payloads)
|
||||
{
|
||||
AppCaches.RuntimeCache.ClearOfType<PublicAccessEntry>();
|
||||
AppCaches.RuntimeCache.ClearByKey(CacheKeys.ContentRecycleBinCacheKey);
|
||||
|
||||
var idsRemoved = new HashSet<int>();
|
||||
var isolatedCache = AppCaches.IsolatedCaches.GetOrCreate<IContent>();
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace Umbraco.Web.Cache
|
||||
if (anythingChanged)
|
||||
{
|
||||
Current.AppCaches.ClearPartialViewCache();
|
||||
AppCaches.RuntimeCache.ClearByKey(CacheKeys.MediaRecycleBinCacheKey);
|
||||
|
||||
var mediaCache = AppCaches.IsolatedCaches.Get<IMedia>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user