[BUGFIX] TS is fetched from cache incorrectly sometimes 72/18072/7
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 3 Dec 2012 09:40:25 +0000 (13:40 +0400)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Mon, 30 Sep 2013 17:44:30 +0000 (19:44 +0200)
commit09f3b6af8f78209ca29e94bd868cc7c336952a02
treea12abb95b75b36a398e07cb15df171cfc62083e3
parent82e9fbead9427d289e68cedd64de9ce2b2243ce9
[BUGFIX] TS is fetched from cache incorrectly sometimes

If $TYPO3_CONF_VARS['FE']['defaultTypoScript_constants'] or
$TYPO3_CONF_VARS['FE']['defaultTypoScript_setup'] are set through
the PHP code, cached TS will not be found in cache. This would
result in TS parsing every time when there are USER_INT objects
on the page. It may slow down the page with USER_INT objects
by about 300% comparing to the cached version.

This change is re-added after it got reverted due to lack of reviews in
Ia0fd65a35897c71d60c48c0b03098ce67ad16c70.

Change-Id: Ief3a065451644423b236489729716b906f3d4500
Resolves: #43540
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/18072
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/TypoScript/TemplateService.php