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

Set json files to correct content-type #39

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

cransom
Copy link
Contributor

@cransom cransom commented Apr 9, 2024

They are currently inheriting a default mime/content type, 'binary/octet-stream', and they aren't qualified to be compressed inline by the CDN.
Switching to 'application/json' allows clients that specify an 'accept-encoding' for the cloudfront/et al to compress the stream.

They are currently inheriting a default mime/content type, 'binary/octet-stream', and they aren't qualified to be compressed inline by the CDN.
Switching to 'application/json' allows clients that specify an 'accept-encoding' for the cloudfront/et al to compress the stream.
Copy link

@guilhermekrz guilhermekrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cransom cransom merged commit 8efa92e into develop Apr 9, 2024
1 check passed
@cransom cransom deleted the fix-json-content-type branch April 9, 2024 17:01
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.

2 participants