Added more mentions about clearing persistence cache#3174
Open
Added more mentions about clearing persistence cache#3174
Conversation
Preview of modified filesPreview of modified Markdown: |
|
dabrt
reviewed
May 5, 2026
|
|
||
| !!! caution "Always clear the persistence with `cache:pool:clear` command" | ||
|
|
||
| Running `php bin/console cache:clear` doesn't clear the persistence cache, even when using a filesystem-based cache pool. |
Contributor
There was a problem hiding this comment.
Suggested change
| Running `php bin/console cache:clear` doesn't clear the persistence cache, even when using a filesystem-based cache pool. | |
| Running `php bin/console cache:clear` doesn't clear the persistence cache, even when you use a filesystem-based cache pool. |
| To clear the persistence cache run `./bin/console cache:pool:clear [cache-pool]` command. | ||
| The default cache-pool is named `cache.tagaware.filesystem`. | ||
| The default cache-pool when running Redis or Valkey is named `cache.redis`. | ||
| To clear the persistence cache run `php bin/console cache:pool:clear [cache-pool]` command. |
Contributor
There was a problem hiding this comment.
Suggested change
| To clear the persistence cache run `php bin/console cache:pool:clear [cache-pool]` command. | |
| To clear the persistence cache, run `php bin/console cache:pool:clear [cache-pool]` command. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



As suggested by @marcin-kondera , the
var/sharechange is a huge change that breaks all the habits Symfony developers have (namely, runningrm -rf var/cacheand being sure it clears all the caches).This PR tries to make the description of the change more visible, hoping we save at least some people from debugging this problem.