I've deployed a rails 3.1 app on the new cedar stack on heroku. The new stack doesn't automatically provide gzipping so I've added
use Rack::Deflater
in my config.ru
Testing it through curl with the following command:
curl -i -H 'Accept-Encoding: gzip,deflate' http://carbuzz-production.herokuapp.com
Returns an header with content encoding
gzip
and a body that seems compressed.
Opening the page in firefox or chrome shows the body untranslated (lots of gibberish).
Any idea how to solve this?