[TYPO3-english] Re: Page rendering 3 x slower and 5 x more cpu used in TYPO3 6.2-dev

Kasper Ligaard kasperligaard+typo3.org at gmail.com
Sat Sep 28 23:22:54 CEST 2013


It turned out that it was the extension static_info_tables which destroyed the cache. It inserted at TypoScript setup.txt which made the cache validation code never recognise that the cache was valid, so it recomputed the value on every request and put into the cache - only to fail the validation upon the next request.

It is the rowSum comparison which fails because for some to me unknown reason en extra array entry has been pushed onto the $cc['rowSum'] array. See file Classes/TypoScript/TemplateService.php: start() on line 432-435:

// The two rowSums must NOT be different from each other - which they will be if start/endtime or hidden has changed!
if (strcmp(serialize($this->rowSum), serialize($cc['rowSum']))) {
	unset($cc);
} else {

The extra array element contains the string "typo3conf/ext/static_info_tables/Configuration/TypoScript/Extbase/setup.txt" (which was what let me to have a look at EXT:static_info_tables and disable it). Look in EXT:static_info_tables' ext_localconf.php file to see where the insertion code is. To me the code in ext_localconf.php seems sound, so why this doesn't work, I don't know.

What I did notice was that it seemed the problem only existed if there was a plugin inserted on the webpage. If it was just a text content element, the there was no problem.

Now TYPO3 6.2 it only 0-5% slower and uses the same amount of CPU as 4.7. Memory consumption are 10-25% higher.


More information about the TYPO3-english mailing list