We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using format=auto (thanks to #18012), the transformed asset is not cached according to the client Accept header.
format=auto
Accept
This leads to cache poisoning between multiple image formats from different browsers.
Request a asset with ?format=auto, the response only includes Vary: Origin.
?format=auto
Vary: Origin
v9.25.1
Self-Hosted (Custom)
The text was updated successfully, but these errors were encountered:
Vary on accept when auto converting assets (directus#18228)
ae0d960
Vary on accept when auto converting assets (#18228) (#18229)
84cb502
Vary on accept when auto converting assets (directus#18228) (directus…
8012e92
…#18229)
Successfully merging a pull request may close this issue.
Describe the Bug
When using
format=auto
(thanks to #18012), the transformed asset is not cached according to the clientAccept
header.This leads to cache poisoning between multiple image formats from different browsers.
To Reproduce
Request a asset with
?format=auto
, the response only includesVary: Origin
.Directus Version
v9.25.1
Hosting Strategy
Self-Hosted (Custom)
The text was updated successfully, but these errors were encountered: