# Cloudfront and compression

**URL:** <https://www.ruby-forum.com/t/cloudfront-and-compression/222927>\
**Category:** NGINX\
**Created:** [September 15, 2012, 4:56am UTC](https://www.ruby-forum.com/t/cloudfront-and-compression/222927 "2012-09-15T04:56:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [September 15, 2012, 4:56am UTC](https://www.ruby-forum.com/t/cloudfront-and-compression/222927/1 "2012-09-15T04:56:27Z")

</div>

In order to get cloudfront to deliver gzipped content I’ve had to  
change  
from gzip\_http\_version 1.1 to 1.0, and manually  
add\_header Vary Accept-Encoding to the relevant sites.

What I’m wondering is how this will affect the sites involved - is  
gzip\_http\_version 1.1 faster / slower than 1.0, or are there any other  
hidden gotchas??

Cheers,

Steve

Posted at Nginx Forum:

> **[cloudfront and compression](https://forum.nginx.org/read.php?2,230741,230741#msg-230741)**
>
> In order to get cloudfront to deliver gzipped content I've had to change from gzip\_http\_version 1.1 to 1.0, and manually add\_header Vary Accept-Encoding to the relevant sites. What I'm wondering is how this will affect the sites involved - is...
