#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
Reviews 2
Related issues 2
History 46
-
Stefan Bürk changed Related to #104054 <span data-processor="relativetime" data-value="2025-11-23T15:30:17+00:00" > 11/23/25, 15:30 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 91839 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-23T16:00:46+00:00" > 11/23/25, 16:00 </span> -
Gerrit Code Review pushed patch set 2 for main to change 91839 <span data-processor="relativetime" data-value="2025-11-23T16:04:16+00:00" > 11/23/25, 16:04 </span>
-
Stefan Bürk commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-11-23T18:45:10+00:00" > 11/23/25, 18:45 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T11:48:32+00:00" > 12/02/25, 11:48 </span> -
Felix Buenemann changed Related to #111082 <span data-processor="relativetime" data-value="2026-10-15T14:03:01+00:00" > 10/15/26, 14:03 </span>
Applied in changeset commit:a6865b47d00ada3db33f95681362971421024c75.