Bug #94660
closedLarge pagetrees with workspaces and many entry points still very slow
0%
Description
On large pagetrees + workspaces, the page tree is still very slow.
This is especially the case, if the editor has a lot of entry points configured. (instead of only one single root page).
The TreeController has a fixed value of $levelsToFetch = 2 , which will apply for every single entry point and load in sum much more collapsed items than necessary.
Some suggestions:
- Either make the value of $levelsToFetch configurable and not hardcoded.
- Or lower the value of $levelsToFetch depending on the number of entry points the editor has.
In my scenario I made an xclass of TreeController and added a very simple condition, that resets $levelsToFetch to 0, when a user has more than 3 entrypoints, which made the backend usable again for editors.