running umbraco site out of VS2010 takes 5-10 mins to load
I have inherited an umbraco site built by someone else. Each time I recompile the source and "View in Browser" from VS2010, it routinely takes 5-10 minutes to load either the public site or the admin interface. We have many other umbraco sites for which this isn't a problem, but this one was built by a contractor and I (and they) have no idea why it takes so long to load.
I have tried appending ?umbDebugShowTrace=true to the end of the url, and the stack trace shows the site loading in under 2 seconds. Any other ideas as to how I might trace this problem?
I tried that, but then it won't build. it throws DocumentTypeProperty errors, etc.
In addition, when I start the project in VS2010, I get this popup:
which I've been saying "No" to. In most other of our umbraco sites, they use uSiteBuilder but I don't get that error. I'm wondering if, on startup, it's looking for something it can't find and then finally times out...?
Added note: I did discover another of our sites that showed the same popup above, and it loads as quickly as any other (10-20 secs)...
Someone just told me that if you have many document types, that it can take a while for the site to load. There are 49 document types in this site. Is there any way to avoid these ludicrous load times if that's what's wrong?
The reason it's slow is because uSiteBuilder is checking all the DocTypes when your app is restarting, so you need to supress it (unless you've made DocType changes via code)
I'm not sure which version of uSiteBuilder allows this command.
Putting it simply, uSiteBuilder is more than likely the culprit for why your App start up is slow.
If you don't need it, then remove it from your site and also from your Visual Studio, or alternatively upgrade to a newer version which disables the auto check on app start up.
unfortunately, we do need it. I'm reasonably sure that it's a version too old to support that command. I'll have to live with 3 minute load times, i guess.
running umbraco site out of VS2010 takes 5-10 mins to load
I have inherited an umbraco site built by someone else. Each time I recompile the source and "View in Browser" from VS2010, it routinely takes 5-10 minutes to load either the public site or the admin interface. We have many other umbraco sites for which this isn't a problem, but this one was built by a contractor and I (and they) have no idea why it takes so long to load.
I have tried appending ?umbDebugShowTrace=true to the end of the url, and the stack trace shows the site loading in under 2 seconds. Any other ideas as to how I might trace this problem?
Thanks.
Were they using uSiteBuilder?
Yes they were.
Remove the uSiteBuilder dll and the uSiteBuilder references in web.config then try.
You won't need it until you are making DocType changes.
Rich
I tried that, but then it won't build. it throws DocumentTypeProperty errors, etc.
In addition, when I start the project in VS2010, I get this popup:
which I've been saying "No" to. In most other of our umbraco sites, they use uSiteBuilder but I don't get that error. I'm wondering if, on startup, it's looking for something it can't find and then finally times out...?
Added note: I did discover another of our sites that showed the same popup above, and it loads as quickly as any other (10-20 secs)...
Someone just told me that if you have many document types, that it can take a while for the site to load. There are 49 document types in this site. Is there any way to avoid these ludicrous load times if that's what's wrong?
Ok, put it back as it was and add this to web.config
<add key="siteBuilderSuppressSynchronization" value="true" />
Rich
The reason it's slow is because uSiteBuilder is checking all the DocTypes when your app is restarting, so you need to supress it (unless you've made DocType changes via code)
Rich
sorry, editing: let me try that
Tried adding <add key="siteBuilderSuppressSynchronization" value="true" /> and it didn't change anything....why?
Hey Neil,
I'm not sure which version of uSiteBuilder allows this command.
Putting it simply, uSiteBuilder is more than likely the culprit for why your App start up is slow.
If you don't need it, then remove it from your site and also from your Visual Studio, or alternatively upgrade to a newer version which disables the auto check on app start up.
Rich
unfortunately, we do need it. I'm reasonably sure that it's a version too old to support that command. I'll have to live with 3 minute load times, i guess.
Hey Neil,
You can install this version http://our.umbraco.org/projects/backoffice-extensions/usitebuilder-admin much better and no wait times.
Rich
Older version of uSitebuilder did not support the "SuppressSync" flag, try upgrading your dll and restarting. Maybe clean the build first.
is working on a reply...