Skip to content

Conversation

@SpiGAndromeda
Copy link
Contributor

@SpiGAndromeda SpiGAndromeda commented Jan 28, 2026

Clarifies cache clearing behavior and documents how different plugin loaders produce different cache directory hashes.

Changes

  • Added warning to caching guide about CLI and web requests potentially using different cache directories
  • Added collapsible section explaining how Symfony's cache:clear works internally (atomic directory swap)
  • New section in deployment guide explaining cache hash implications when using bin/ci / ComposerPluginLoader
  • Updated cache:clear:all descriptions to accurately reflect that it removes kernel cache directories

Documenting shopware/shopware#14544 (PR is closed with a reference to this docs update)

@SpiGAndromeda SpiGAndromeda changed the title docs: document cache:clear:all confirmation behavior docs: document cache:clear:all confirmation and cache hash behavior Jan 28, 2026
@SpiGAndromeda SpiGAndromeda added the Blocked Block PRs from merging label Jan 28, 2026
Removes documentation about the interactive confirmation prompt and --force flag for the cache:clear:all command across all guide pages.
@SpiGAndromeda SpiGAndromeda removed the Blocked Block PRs from merging label Feb 11, 2026
@SpiGAndromeda SpiGAndromeda changed the title docs: document cache:clear:all confirmation and cache hash behavior docs: document cache:clear:all and cache hash behavior Feb 11, 2026
@Isengo1989 Isengo1989 added the Improvement PR created to append/modify info in the existing article label Feb 11, 2026
Copy link
Contributor

Copilot AI left a 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:all descriptions 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:clear behavior.
  • 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.

Copy link
Contributor

@Isengo1989 Isengo1989 left a 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 👍

@Isengo1989 Isengo1989 merged commit 3b5e632 into main Feb 13, 2026
9 checks passed
@Isengo1989 Isengo1989 deleted the docs/cache-clear-all-confirmation branch February 13, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement PR created to append/modify info in the existing article

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants