diff --git a/src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs b/src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
index 6fdcc28895..52144ed17c 100644
--- a/src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
+++ b/src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
@@ -8,232 +9,169 @@ namespace Umbraco.Core.Cache
{
internal abstract class DictionaryCacheProviderBase : ICacheProvider
{
- protected readonly ReaderWriterLockSlim Locker = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion);
- protected abstract DictionaryCacheWrapper DictionaryCache { get; }
-
- ///
- /// Clears everything in umbraco's runtime cache
- ///
- ///
- /// Does not clear other stuff the user has put in httpruntime.cache!
- ///
- public virtual void ClearAllCache()
- {
- using (new WriteLock(Locker))
- {
- var keysToRemove = DictionaryCache.Cast