[TASK] Speedup typolink root-line handling 87/26787/5
authorSteffen Ritter <info@rs-websystems.de>
Mon, 13 Jan 2014 18:06:53 +0000 (19:06 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 14 Jan 2014 17:48:18 +0000 (18:48 +0100)
commitacc7ff013486f01dafc9974cb27e7db052a3b27a
treeab584885c050d7b314d6bc82dcfc789ab3a64118
parent58bb71535f6c66fc713eda70fae5a05163a1ca7a
[TASK] Speedup typolink root-line handling

The link generation via typolink needs the domain record as well
as the rootline to generate the links correctly. To save
superfluous database queries some local caches are introduced.

Furthermore the rootline cache does not use all information which
is present after the database query. This information is unpacked
here, too. As a result less requests to the CacheFrontend need to
be done.

Resolves: #54959
Releases: 6.2, 6.1
Change-Id: Iea7fff4c6c624a03b75523a7352b5f9736f2d57e
Reviewed-on: https://review.typo3.org/26787
Reviewed-by: Jo Hasenau
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Helmut Hummel
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/core/Classes/Utility/RootlineUtility.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php