Project

General

Profile

Actions

Bug #82496

closed

Remove duplicate caching of PageTS in Extbase's Typo3DbBackend

Added by Alexander Schnitzler over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Target version:
Start date:
2017-09-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.0
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

\TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend fetches the PageTS via BackendUtility::getPagesTSconfig($storagePage); in line 719.

This is a bug because that method already returns cached data and the cache algorithm inside that method is even better than the one Extbase comes up with.
If different pages have the same PageTS, it will only be cached once. As soon as Extbase kicks in, it fetches the PageTS from the BackendUtility and stores a copy of it in a static property. On top, Extbase always copies the PageTS, even if the PageTS for different pages is the same.

In this case, the cache can simply be removed at all.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82474: Disable pageTSconfig Caching in ExtbaseClosed2017-09-13

Actions
Actions

Also available in: Atom PDF