[TYPO3-core] RFC: Bug #11985: Optimize disposal of t3lib_PageRenderer
Oliver Hader
oliver at typo3.org
Thu Sep 17 19:55:53 CEST 2009
Hi,
Oliver Hader schrieb:
> This is an SVN patch request.
>
> Type: Bugfix / API modification
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11985
>
> Branch: Trunk
>
> Problem:
> 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.
>
> Solution:
> 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().
> The patch increases performance of a cached page by approx. 5%.
>
> Notes:
> The initial patch was created by Steffen Kamper. Due to the downtime of
> the mailing list we worked and discussed on via mail and Skype.
Since the original patch was from Steffen, here's my
+1 by reading and testing
I'm going to take care of the commit.
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list