PERF: 16858 Shape table cached too aggressively, should expired on file changes, deletion and creation

--HG--
branch : perf
This commit is contained in:
Suha Can
2010-12-02 16:11:47 -08:00
parent b88178b542
commit 5a0742d61d
3 changed files with 10 additions and 8 deletions

View File

@@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.Web.Routing;
using Autofac;
using JetBrains.Annotations;
using Orchard.Caching;
using Orchard.Commands;
using Orchard.Commands.Builtin;
using Orchard.ContentManagement;
@@ -46,6 +46,7 @@ namespace Orchard.Setup {
builder.RegisterModule(new MvcModule());
builder.RegisterModule(new CommandModule());
builder.RegisterModule(new WorkContextModule());
builder.RegisterModule(new CacheModule());
builder.RegisterType<RoutePublisher>().As<IRoutePublisher>().InstancePerLifetimeScope();
builder.RegisterType<ModelBinderPublisher>().As<IModelBinderPublisher>().InstancePerLifetimeScope();