Add option to disable version highlighting in the page tree
In larger instances the highlighting of versions in the page tree is a performance killer. The more pages and tables the instance gets, the slower the loading of the page tree becomes.
If it cannot simply achieved to gain performance boost here, there could be at least an option added to disable the highlighting for some users.
I will add a patch which we are using for quite a while to disable the highlighting. The configuration part needs to be added if this is a desired workaround.
This one here is the slow part: https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/backend/Classes/Controller/Page/TreeController.php#L504
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64052
Updated by Danilo Caccialanza about 1 year ago
I confirm the problem as it has been described and that the patch solves the performance problem.
In my opinion you can release this patch, but it should not be the final solution of the problem because the color of the versioned page is important and I don't want to be forced to disable it to improve performance!
Updated by Uwe Trotzek about 1 year ago
I'm not 100% sure if this can be closed or not. The highlighting of changes in the page tree has definitely performance impact. In my local dev system with only a few changes made by myself it is about 3 seconds. (6 sec with the patch, 9 sec. without the patch)
I wrote this patch because we had huge performance issues in our production environment. We have to test if the issues will come back as soon as our editors make more changes in production. I can imagine that they will come back because we had these performance issues BEFORE the page tree refactoring in TYPO3 9. The problems were also present under 8.7.
But we'll see. ;-) I will give some feedback. But it will take some time until we have the project in production.