[Docs] Refresh and clarify remote thumbnail generation guide#2280
Open
Copilot wants to merge 6 commits into
Open
[Docs] Refresh and clarify remote thumbnail generation guide#2280Copilot wants to merge 6 commits into
Copilot wants to merge 6 commits into
Conversation
Copilot started work on behalf of
Martin Krzykawski (MartinKrzykawski)
May 8, 2026 09:15
View session
1 task
Agent-Logs-Url: https://github.com/shopware/docs/sessions/9a002983-5211-4a0e-ba94-8e34b9b1e3f4 Co-authored-by: MartinKrzykawski <64466485+MartinKrzykawski@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update and validate Remote Thumbnail Generation documentation
[Docs] Refresh and clarify remote thumbnail generation guide
May 8, 2026
Copilot started reviewing on behalf of
Martin Krzykawski (MartinKrzykawski)
May 8, 2026 11:38
View session
a00f9f9 to
14d3dd4
Compare
Copilot started reviewing on behalf of
Martin Krzykawski (MartinKrzykawski)
May 8, 2026 12:17
View session
David Neustadt (dneustadt)
approved these changes
May 11, 2026
Marcel Brode (marcelbrode)
approved these changes
May 11, 2026
Micha Hobert (Isengo1989)
approved these changes
May 11, 2026
Contributor
Micha Hobert (Isengo1989)
left a comment
There was a problem hiding this comment.
Thx for the PR Martin Krzykawski (@MartinKrzykawski) 👍
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Shopware developer documentation for Remote Thumbnail Generation to better reflect real runtime behavior, version availability, and operational considerations when switching from local thumbnail generation to remote/CDN-driven URLs.
Changes:
- Expanded configuration documentation with typed/defaulted config tables and clarified pattern variable behavior/versioning.
- Added new sections documenting what Shopware short-circuits when the feature is enabled, plus migration guidance for cleaning up existing local thumbnails.
- Significantly expanded the Fastly invalidation section (config options, activation behavior, and a cross-link clarifying the difference vs reverse-proxy Fastly config).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
Summary
Expands the Remote Thumbnail Generation guide with the technical detail developers need when enabling the feature, based on a full read of the current implementation in
shopware/shopware.What changed
remote_thumbnails.*keys, madeenable: falsedefault explicit.{mediaUrl}resolves fromshopware.filesystem.publicand is replaced with an empty string for media whose path is already an absolute URL. Noted{mediaUpdatedAt}was added in 6.6.5.0.ThumbnailServicethrowsMEDIA_THUMBNAIL_GENERATION_DISABLED,GenerateThumbnailsHandler/MediaIndexerearly-return,media:generate-thumbnailsaborts,FileSaverskips dispatch and rename,MediaDeletionSubscriberskips thumbnail rows,MediaUrlLoaderdelegates to
RemoteThumbnailLoader. Plus a warning that synthesizedMediaThumbnailEntityIDs are random per request and not persisted.bin/console media:delete-local-thumbnails(added 6.6.6.0) for migrating an existing shop.ResolveRemoteThumbnailUrlExtensionhook (remote_thumbnail_url.resolve, since 6.7.1.0; supports returningnullto skip athumbnail since 6.7.3.0).
soft_purgeandmax_parallel_invalidationsto the example config; added a config table; clarified thatapi_keybeing non-empty is the on/off switch (noseparate
enabledflag); described the request shape and failure handling; added an info box disambiguating this media-cache node fromshopware.http_cache.reverse_proxy.fastly, with across-link to the reverse-HTTP-cache guide.