Serving GZipped files from s3 using the Asset Pipeline
Posted
by
kmurph79
on Stack Overflow
See other posts from Stack Overflow
or by kmurph79
Published on 2012-06-04T04:37:02Z
Indexed on
2012/06/04
4:40 UTC
Read the original article
Hit count: 272
I have a Rails 3.2.3 app on Heroku and I'm using the asset_sync gem to serve my assets from s3, via these instructions. It works great, except s3 is not serving up the gzipped css/js files (just the uncompressed version). I've enabled gzip compression, to no avail:
config.gzip_compression = true
According to Using GZIP with html pages served from Amazon S3 I need to add meta-data to the s3 object for uploading. How would I do this in concert with the Asset Pipeline? Thank you for any help.
© Stack Overflow or respective owner