This gem is designed for use by Rails applications running on Heroku. For others, the better approach is to use a frontend server such as nginx or Apache. However, the Heroku Cedar stack is no longer fronted by a file server, and there is no automatic provision for gzipping responses. This gem activates Rack::Deflate for all requests. In addition, we serve up the gzipped versions of our precompiled assets, taking advantage of the higher compression ratio used during precompilation, and reducing CPU load at request time.

Required Ruby Version

None

Authors

Matt Olson

Versions

  1. 1.0.3 February 18, 2014 (244 KB)
  2. 1.0.2 February 13, 2014 (244 KB)
  3. 1.0.1 August 02, 2013 (244 KB)
  4. 1.0.0 April 03, 2013 (243 KB)
  5. 0.2.1 April 02, 2013 (7.5 KB)
Show all versions (6 total)

SHA 256 checksum