-
Notifications
You must be signed in to change notification settings - Fork 303
docs: document cache:clear:all and cache hash behavior #2088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Removes documentation about the interactive confirmation prompt and --force flag for the cache:clear:all command across all guide pages.
…confirmation # Conflicts: # .wordlist.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Updates Shopware documentation to more accurately describe cache clearing behavior, especially around cache:clear:all, and explains why cache directory hashes can differ between CLI and web requests depending on the plugin loader used.
Changes:
- Refines
cache:clear:alldescriptions across command/reference docs to emphasize removal of kernel cache directories. - Adds guidance/warnings about CLI vs web cache directory mismatches and a short internal explanation of Symfony’s
cache:clearbehavior. - Documents cache hash implications in CI/deployment flows when using
bin/ci/ComposerPluginLoader.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| resources/references/core-reference/commands-reference.md | Updates command table description for cache:clear:all. |
| guides/plugins/plugins/framework/caching/index.md | Clarifies manual cache clear behavior; adds warning + Symfony cache:clear internals section. |
| guides/plugins/apps/app-base-guide.md | Improves cache reset wording and removes trailing whitespace. |
| guides/hosting/installation-updates/deployments/build-w-o-db.md | Adds deployment guidance about cache directory hash differences between plugin loaders. |
| guides/hosting/infrastructure/reverse-http-cache.md | Updates cache:clear:all description in HTTP cache guide. |
| .wordlist.txt | Adds new technical terms used in the docs to the spellchecker allowlist. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Isengo1989
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for the PR @SpiGAndromeda 👍
Clarifies cache clearing behavior and documents how different plugin loaders produce different cache directory hashes.
Changes
cache:clearworks internally (atomic directory swap)bin/ci/ComposerPluginLoadercache:clear:alldescriptions to accurately reflect that it removes kernel cache directoriesDocumenting shopware/shopware#14544 (PR is closed with a reference to this docs update)