Closed thomaswilburn closed 3 years ago
Note we should evaluate based on filetype-we have some oddballs that it may make sense to keep manually gzipped. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront-file-types
Apparently (according to testing at the LAT), CloudFront compression removes the Content-Length and ETag headers from responses. Since we use the latter extensively for avoiding unnecessary bandwidth in unchanged response polling (e.g., election data), we should not rely on CloudFront's compression.
Apparently they do this for us now?