[FEATURE] Add cache:flush console command
A cache:flush CLI command is added that provides lowlevel cache flush functionality as in installtool. It is made extra sure that the command will be executable, even if all caches are stale or even broken. That means this command is able to repair broken di, localconf and tca caches. Technically this became possible due to preparations for lowlevel cli commands in #86248. Releases: master Resolves: #90197 Change-Id: I920867fa8a1ae908acf9788f5de2c6c79eb452d5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70797 Tested-by:core-ci <typo3@b13.com> Tested-by:
Helmut Hummel <typo3@helhum.io> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Helmut Hummel <typo3@helhum.io> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
Showing
- typo3/sysext/core/Classes/Cache/CacheManager.php 8 additions, 0 deletionstypo3/sysext/core/Classes/Cache/CacheManager.php
- typo3/sysext/core/Classes/Cache/Event/CacheFlushEvent.php 52 additions, 0 deletionstypo3/sysext/core/Classes/Cache/Event/CacheFlushEvent.php
- typo3/sysext/core/Classes/Command/CacheFlushCommand.php 131 additions, 0 deletionstypo3/sysext/core/Classes/Command/CacheFlushCommand.php
- typo3/sysext/core/Classes/ServiceProvider.php 14 additions, 0 deletionstypo3/sysext/core/Classes/ServiceProvider.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-90197-IntroduceCacheFlushConsoleCommand.rst 55 additions, 0 deletions...aster/Feature-90197-IntroduceCacheFlushConsoleCommand.rst
- typo3/sysext/core/Tests/Acceptance/Application/Cli/CommandCest.php 2 additions, 0 deletions...ext/core/Tests/Acceptance/Application/Cli/CommandCest.php
- typo3/sysext/core/Tests/Functional/Command/AbstractCommandTest.php 42 additions, 0 deletions...ext/core/Tests/Functional/Command/AbstractCommandTest.php
- typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php 152 additions, 0 deletions...t/core/Tests/Functional/Command/CacheFlushCommandTest.php
- typo3/sysext/core/Tests/Functional/Command/CacheWarmupCommandTest.php 1 addition, 20 deletions.../core/Tests/Functional/Command/CacheWarmupCommandTest.php
Please register or sign in to comment