[BUGFIX] Remove duplicate PageTS cache in Typo3DbBackend 51/54151/3
authorAlexander Schnitzler <git@alexanderschnitzler.de>
Sun, 17 Sep 2017 10:02:11 +0000 (12:02 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 20 Sep 2017 14:49:07 +0000 (16:49 +0200)
commit6e30a2f0057af67dea33738255f3e3289872fad5
tree5b471fa73d610ca460dddae9cf73ca1ee826af7d
parentcfd79c786dc86b47bf24a594d9cb85b5b481b7a0
[BUGFIX] Remove duplicate PageTS cache in Typo3DbBackend

The Typo3DbBackend fetches PageTS via BackendUtility::getPagesTSconfig
and then stores a copy of it (for each page separately) in a static
property. This is a bug and leads to performance decreases because
the PageTS is already cached via BackendUtility::getPagesTSconfig
and it's done even better than in Typo3DbBackend because the backend
utility store a single cache entry for different pages with the same
PageTS. The Typo3DbBackend does create a copy of the PageTS for each
page.

Resolves: #82496
Releases: master, 8.7
Change-Id: I61bd6fa8eb3ba29baea355ae01a8d71f7ae7e963
Reviewed-on: https://review.typo3.org/54151
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php