I am working on a project which use Episerver CMS 5 R2 SP2 with Community. When developing we have quite a big painpoint in the startup time for the project.
After building it takes about 2 minutes for the first page load, sometimes alot longer. I have tried the web.config setting sugested in http://world.episerver.com/Blogs/Per-Bjurstrom/Archive/2009/4/Optimize-startup-time-in-ASPNET/ but that dident seem to help much.
Does anyone have any tips om how to make it start faster?
Andreas, have you tried using a profiler like dotTrace for the start up?
Yes I have used a profiler on it and found out that PageTypeBuilder takes a bit of the startup time. But that is probably to be expected since we have quite alot of pagetypes.PTB takes about 20-30% of the time but what about the rest?
EPiServer.Web.UrlRewriteModule.HttpUrlRewriteToInternal(UrlBuilder) : 13 secondsEPiServer.DataFactoryCache.UploadEndPoints(Object) : 30 secondsEPiServer.Web.HtmlRewritePipe.RewriteToEnd(TextReader, TextWriter) : 20 secondsEPiServer.Common.Settings.LoadSettings() : 7 secondsSystem.Web.Hosting.ProcessHost.StartApplication(String, String, Object &) : 9 seconds