[BUGFIX] Configure main extbase caches for unlimited entry lifetime 69/24069/3
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:42:41 +0000 (21:42 +0200)
commit690a3713830fc25e39e9f26937376b0aba10412d
tree0bba667467256bd2aaf25e372c5f77a8cdafc50e
parent3d0008feb8afa84b1f39ceeb017de2a2d4aca3e4
[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
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/extbase/ext_localconf.php