[TASK] Improve dependency injection container caching
Disallow disabling and flushing the DI cache and base the cache identifier as well on the currently installed extensions. A disabled DI cache creates an unbearable performance hit, so that disabling won't make sense anyway. Disallowing flushing that cache will not flush the DI cache when caches are flushed using the regular backend UI, but only when caches in install tool are flushed. Last but not least, the install tool cache flushing is changed to not bypass the caching API any more by removing complete caching folders or caching database tables. Instead the CacheManager is now used twice, once with basic caching configuration and a second time with caching configuration that is provided by extensions (if any). Releases: master Resolves: #90418 Change-Id: Idc3d053e181c909ccd662065a9c1ab7a893fa9ac Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63288 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/core/Classes/Core/Bootstrap.php 10 additions, 2 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/DependencyInjection/Cache/ContainerBackend.php 36 additions, 0 deletions...re/Classes/DependencyInjection/Cache/ContainerBackend.php
- typo3/sysext/core/Classes/DependencyInjection/ContainerBuilder.php 17 additions, 24 deletions...ext/core/Classes/DependencyInjection/ContainerBuilder.php
- typo3/sysext/core/Classes/Package/PackageManager.php 3 additions, 2 deletionstypo3/sysext/core/Classes/Package/PackageManager.php
- typo3/sysext/core/Classes/ServiceProvider.php 2 additions, 0 deletionstypo3/sysext/core/Classes/ServiceProvider.php
- typo3/sysext/install/Classes/Service/ClearCacheService.php 37 additions, 28 deletionstypo3/sysext/install/Classes/Service/ClearCacheService.php
- typo3/sysext/install/Classes/Service/LateBootService.php 2 additions, 5 deletionstypo3/sysext/install/Classes/Service/LateBootService.php
Please register or sign in to comment