Fixed runtime cache provider issues & unit tests.

This commit is contained in:
Shannon
2013-07-24 09:36:01 +10:00
parent ca1fe5ff2a
commit 80394f08fb

View File

@@ -78,7 +78,7 @@ namespace Umbraco.Core.Persistence.Caching
{
foreach (var key in _keyTracker)
{
if (key.StartsWith(type.Name))
if (key.StartsWith(string.Format("{0}{1}-", CacheItemPrefix, type.Name)))
{
var item = _memoryCache != null
? _memoryCache.Get(key)