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

Add gzip support for heatmap downloading #499

Open
meilinger opened this issue Oct 26, 2018 · 0 comments
Open

Add gzip support for heatmap downloading #499

meilinger opened this issue Oct 26, 2018 · 0 comments

Comments

@meilinger
Copy link
Member

Looks like it'd be best to put a CloudFront distribution in front of the S3 bucket that houses heatmaps in order to add gzip since it'd be responsive to browser capabilities (vs ALWAYS sending gzipped content in the option described below).

The other option is gzipping the heatmaps before uploading to S3 and adding the Content-Encoding: gzip header (see https://medium.com/@graysonhicks/how-to-serve-gzipped-js-and-css-from-aws-s3-211b1e86d1cd ).

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

No branches or pull requests

1 participant