My website is a static blog of visualizations and I am serving it via AWS S3.
Some of the visualizations use large CSVs, ranging from 1 megabytes to 20 megabytes.
I've set up Cloudfront to automatically gzip files, but for some reason there is a maximum size of 10 megabytes.
As a result, the page that depends on a 20 megabyte CSV takes around 5 seconds to load because Cloudfront isn't gzipping it.
I've checked, and if this file was gzipped then it would only be around 2 megabytes.
Is there any reason Cloudfront doesn't gzip files past 10 megabytes, or is there any sort of workaround I can use for automatically serving a compressed version of this file without too much hassle?