Faster languages

This commit is contained in:
Stephan
2018-04-11 15:31:21 +02:00
parent 26af63549f
commit 392965bb3a
5 changed files with 68 additions and 8 deletions

View File

@@ -156,7 +156,7 @@ namespace Umbraco.Core.Cache
}
// does NOT clone anything, so be nice with the returned values
private IEnumerable<TEntity> GetAllCached(Func<TId[], IEnumerable<TEntity>> performGetAll)
internal IEnumerable<TEntity> GetAllCached(Func<TId[], IEnumerable<TEntity>> performGetAll)
{
// try the cache first
var all = Cache.GetCacheItem<DeepCloneableList<TEntity>>(GetEntityTypeCacheKey());