There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
After upgrading to PTB 2.0, starting site takes a really long time
I'm working on a site with too many page types (109) and a lot of pages (100 000+), using EPiServer CMS 6 R2. After upgrading to PTB 2.0, it takes about 15 minutes to start the site, most of this time is consumed by PTB updating the page types in the database.
At the moment we've solved this by setting <pageTypeBuilder disablePageTypeUpdation="false" /> except when we actually change any page types, but it would be nice to have a quicker startup also when we need to do these changes.
Is this a problem anyone has come across? Is it something we can do to speed up the process?
A colleague of mine said he had some luck doing the following hack: He made sure no properties in any pagetype had the same SortOrder. If any pagetype's properties had the same SortOrder, the update took noticeably longer.
Does this make sense?
It would take a long time to manually set all the SortOrder values of all properties of all 109 pagetypes to different integers, so I hope we can find another solution.