Skip to content
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

Remove referer header when S3 image source #91

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

ofhouse
Copy link
Member

@ofhouse ofhouse commented Nov 24, 2021

When the image is downloaded from S3, the Referer header is not used by the image optimizer module.
In this case it should be removed from the cache key for CloudFront to improve caching.

Fixes #87.

@ofhouse ofhouse added this to the v12.0.0 milestone Nov 24, 2021
@ofhouse ofhouse merged commit e04063e into main Nov 24, 2021
@ofhouse ofhouse deleted the feat/optional-referer-header branch November 24, 2021 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove referer header from cache key when S3 is used
1 participant