[BUGFIX] Configure main extbase caches for unlimited entry lifetime 81/24081/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 26 Sep 2013 14:12:25 +0000 (16:12 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 26 Sep 2013 19:43:30 +0000 (21:43 +0200)
commitbb94fe095f963a4a712ff0bacd611772e8a37713
treee0f9d171e1b335e6fbd094e5feea5598d3138c91
parent52ff400809fa3aa3afbae9d48c9fd4ab294d5096
[BUGFIX] Configure main extbase caches for unlimited entry lifetime

The extbase reflection and object caches are "stable" cache entries
and only need to be deleted if extensions change or are updates. The
extension manager takes care of flushing in this case.
Currently, the default lifetime of those cache entries is only one
hour, so they are recalculated pretty often. This is especially a
problem if the site was not accessed for more than an hour, since
tons of cache entries exceeded their lifetime and require
recalculation.
The patch moves the cache configuration of the required extbase
extension to DefaultConfiguration and sets unlimited default
lifetime for object and reflection cache.

Change-Id: I671692645aeb104f7fa73595cc79b25ed5984b85
Resolves: #52305
Related: #51116
Related: #52304
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24069
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
(cherry picked from commit 690a3713830fc25e39e9f26937376b0aba10412d)
Reviewed-on: https://review.typo3.org/24081
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/extbase/ext_localconf.php