#108280Command cache:flushtags does not work
Description
Hi,
executing this command does nothing. I have added various amounts of cache tags, added tags to pages and stdWrap.cache. I see the cached values in cache_pages and cache_hash, but executing:
ddev typo3 cache:flushtags pages_20,pageId_20 ddev typo3 cache:flushtags pages_19,pageId_19 ddev typo3 cache:flushtags pages_19 ddev typo3 cache:flushtags mycurrenttimestamp
does nothing. All tags are still represented in their cache tables.
I have debugged it and wondered about the use of NullBackend. I have not configured it that way. It’s because shell commands were executed with “$failsafe = true” which disables caching completely.
I have looked into cache:flush Command. There you explicit activate caching again to get that working.
$container = $this->bootService->getContainer(true);
Such an approach is missing for cache:flushtags
Stefan