LevelbossMike/ember-deploy-s3

Unable to use Cloudfront Compression Due to Lack of Content-Length Header

Closed this issue · 1 comments

I am attempting to use CloudFront to serve my ember application and am wanting to use the gzip compression that it provides but this is currently not possible as one of the requirements is that objects in the bucket have their Content-Length header set which currently doesn't happen:

screen shot 2016-06-13 at 4 23 30 pm

See number 7 under "Using CloudFront to Compress Your Content"

http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront

Apparently it just shows up as "Size" under the object details. Closing