I posted a similar question here
Serving Compressed Assets in Heroku with Rack-Zippy
but decided to give up on that service, since I couldn\'t get it to work.
Enable compression
Add it to config/application.rb:
module YourApp class Application < Rails::Application config.middleware.use Rack::Deflater end end
Source: http://robots.thoughtbot.com/content-compression-with-rack-deflater