[BUGFIX] Remove duplicate PageTS cache in Typo3DbBackend 85/54185/2
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 15:06:11 +0000 (17:06 +0200)
commit51e448f5bd599f644b2df520d3f3a62f03c54b1d
tree908dcd10337c7eacfd8bd15417130a3cfa0e6dfe
parent16ccdc7bea47f560c51bc79afceee801a7000142
[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/54185
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