[TYPO3-core] RFC: Bug #11985: Optimize disposal of t3lib_PageRenderer

Rupert Germann rupi at gmx.li
Thu Sep 17 19:46:42 CEST 2009


hi

+1 by reading testing and benchmarking
with this patch all works as before and the FE reaches the performance 
that it had before committing the pagerenderer (in rev 9503)

greets
rupert


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.
> 
> olly
> 


More information about the TYPO3-team-core mailing list