[FEATURE] Speed up typoLink function by caching domain records 23/9023/14
authorSteffen Gebert <steffen.gebert@typo3.org>
Tue, 14 Feb 2012 18:56:02 +0000 (19:56 +0100)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Thu, 7 Feb 2013 13:33:37 +0000 (14:33 +0100)
commit451669a0c00752dad4d9d239c7efdd70a451dce7
treeacdce6737bc91dd420f3baa99556a08b415c8cc4
parent42f98ac52b8d3a94d85d0bcec727ee3d196e60bc
[FEATURE] Speed up typoLink function by caching domain records

Cache the domain records in a runtime cache for improved rendering
of links generated with typolink function.

This change takes only effect, when
  config.typolinkCheckRootline = 1
is set, which otherwise costs immense performance in terms of huge
number of SQL queries.

Resolves: #24389
Releases: 6.1
Change-Id: I7c6bee1cd6ee1cb0901d926dd6ce9a22c00501ab
Reviewed-on: https://review.typo3.org/9023
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Simon Schaufelberger
Tested-by: Simon Schaufelberger
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php