Serving Compressed Assets via CloudFront to a Heroku Rails App
Follow through Asset Sync's instructions to configure and serve your assets from CloudFront (AWS account required and some more steps to config S3 and CloudFront) if you haven't prepped your app. Make sure that you have the "config.gzip_compression" option to "true".
And simply follow through the Heroku Rails Deflate gem's instructions.
Asset Sync: https://github.com/rumblelabs/asset_sync
Heroku Rails Deflate: https://github.com/mattolson/heroku_rails_deflate
NOTE: I'm on Rails 3.2.16 and Ruby 2.0.0
Written by Chard Gonzales
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Heroku
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#