Serving Compressed Files Amazon vs Lightty
Posted
by
tike
on Server Fault
See other posts from Server Fault
or by tike
Published on 2012-06-01T15:37:34Z
Indexed on
2012/06/01
16:43 UTC
Read the original article
Hit count: 276
amazon-ec2
|lighttpd
We are currently using amazon CloudFront to serve css and according to Amazon itself, Amazon CloudFront can serve both compressed and uncompressed files from an origin server. But while i check compression it shows everything fine in origin server but it shows notcompressed checking in the link with cloudfront.
it would result with Compression status: (gzip)
while with cloudfront
Compression status: Uncompressed
Origin server is running lighttpd with mod_deflate however, allowed config is:
deflate.allowed_encodings = ("bzip2", "gzip", "deflate")
[i would think, putting extra allowed encoding wont affect as such.]
Here i am clueless, what is the real issue.
© Server Fault or respective owner