Issue Bug Closed

#94660Large pagetrees with workspaces and many entry points still very slow

Christian Eßl 07/29/21, 08:42 updated 01/24/23, 13:28

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.