#53368Use getPagesTSconfig($tscPID) only once per ID
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