heroku_rails_deflate
heroku_rails_deflate copied to clipboard
Activate Rack::Deflate and serve up precompiled, gzipped assets on Heroku
No activity for more than 3 years, is this gem still active?
This is a copy of @st0012's PR #24. It just brings back the use of `.try` as recommended by @dcosson.
`ActionDispatch::FileHandler` changed the way it expects to be passed the `Cache-Control` headers, since https://github.com/rails/rails/pull/19135.
I tried rake precompile and it seems to only compile the assets folder and not the public folder. Am I doing anything wrong?
Fixes #20.
`rack-mini-profiler` needs to be added at a specific point in relation to this middleware (it injects HTML into the view). Unfortunately, because of the way this gem adds middleware after...
It seems this gem has stopped working for our Rails app at some point. Assets are not compressed, I only see uncompressed load times with chrome: ![bildschirmfoto 2014-07-16 um 13...
Hi, I've got a question: you say "Make sure asset caching is configured correctly" and suggest setting `config.assets.compile` to `true` in production. Is this setting really required to use heroku_rails_deflate?...