[TYPO3-mvc] Change extbase cache lifetime

Armin Rüdiger Vieweg info at professorweb.de
Tue May 3 01:12:38 CEST 2011


Hi again,

I've got a bit success... I have created an small extension which basicly
is an ext_localconf.php with the following content:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_reflection']['options']['defaultLifetime']  
= 1336;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_object']['options']['defaultLifetime']  
= 1337;

The lifetime of items inside of cache_extbase_reflection table is set to  
1336.
But the lifetime of the object is still the default value of 3600 :(

If I set the lifetime of objects to (string) '1337' I get an error:
#1233072774: The default lifetime must be given as a positive integer.

So I wonder why this value have not been taken, if it contains an integer.

I'm running out of ideas.
I would be very thankful for any help!

~Armin


More information about the TYPO3-project-typo3v4mvc mailing list