This project is read-only.

Orchard performance improvement?

Topics: General
Feb 25, 2011 at 3:16 AM

Steven Smith in his presentation "Improving ASP.NET MVC Application Performance" ( ) delivered as part of Microsoft's mvcConf ( ) suggests that adding the following lines to Global.asax.cs can provide substantial performance improvement for MVC applications that only use the Razor view engine.

Would this be appropriate for Orchard?

     ViewEngines.Engines.Add(new RazorViewEngine());

Feb 25, 2011 at 4:31 AM

It might. We would be breaking compatibility because currently you can use other view engines with Orchard but maybe that's something we could put in settings.

Feb 25, 2011 at 4:46 AM

After a short inquiry, it seems like this would have minimal impact at best. Thanks for the suggestion though.