Skip to content

[s3] Add option to invalidate CloudFront cache on file change#1554

Open
ShlomoCode wants to merge 1 commit intojschneier:masterfrom
ShlomoCode:master
Open

[s3] Add option to invalidate CloudFront cache on file change#1554
ShlomoCode wants to merge 1 commit intojschneier:masterfrom
ShlomoCode:master

Conversation

@ShlomoCode
Copy link
Copy Markdown

If you don't use a random string like UUID as the filename, the cache may cause stale files to be served. This PR fixes this by adding an option to automatically invalidate the cache after overwriting/deleting an existing file.

Invalidates CloudFront cache automatically when files are overwritten or deleted for users who don't use random-based filenames.
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.

1 participant