[BUGFIX] TS is fetched from cache incorrectly sometimes 77/24177/2
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:54:55 +0000 (19:54 +0200)
commit6b2512a958768a4f92c04707a6f6beef7a9870d6
tree2f8ad870e02afeddfae7db5b285bf2162bed64b7
parent3a3edf13adca6bcd5a5d90c65522f3a03cec5683
[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/24177
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/core/Classes/TypoScript/TemplateService.php