Bug #21078

Optimize disposal of t3lib_PageRenderer

Added by Oliver Hader almost 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2009-09-17
Due date:
% Done:

0%

TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_PageRenderer is currently used in the TYPO3 backend and frontend. There the classes template and tslib_fe inherit from t3lib_PageRenderer. However, in frontend disposal it's not required to have the feature set of the page renderer loaded if a request gets served by the cache and nothing is rendered at all.

Thus, instead of using "tslib_fe extends t3lib_PageRenderer", an aggreation shall be used.
Extension can then access the page renderer e.g. by $TSFE->getPageRenderer()->addJsFile()

(issue imported from #M11985)

0011985.patch View (39.9 KB) Administrator Admin, 2009-09-17 18:46

History

#1 Updated by Oliver Hader almost 10 years ago

Committed to SVN Trunk (rev. 5955)

Also available in: Atom PDF