Actions
Bug #53368
closedUse getPagesTSconfig($tscPID) only once per ID
Start date:
2013-11-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
PageLayoutView::isRTEforField is called on every record that is displayed in a Web>Page. And this will call BackendUtility::getPagesTSconfig($tscPID) every time once and again, and thus parsing the PageTS over and over on the same hit. If you have 50 content elements on a page, this can get very expensive.
Solution: Create a variable that stores the RTEsetup for a particular ID
Actions