Web.PublishedCache - introduce contextual caches

This commit is contained in:
Stephan
2013-03-19 17:51:55 -01:00
parent cb966ac70b
commit ce0c72d9f8
34 changed files with 450 additions and 184 deletions

View File

@@ -317,7 +317,7 @@ namespace Umbraco.Web
// if yes, return true
private static bool EnsureHasContent(UmbracoContext context, HttpContextBase httpContext)
{
var store = context.RoutingContext.UmbracoContext.ContentCache;
var store = context.ContentCache;
if (store.HasContent(context))
return true;