title: Rails, Content Compression via Rack::Deflater
body: <p>I'm trying to serve my HTML, CSS and JS compressed as a gzip with my Rails 5 app, but I can't get it to work.</p>
  <p>I've added below code to my <code>application.rb</code> but <code>Html</code> output is same(not compressed).</p>
  <pre><code>config.middleware.use Rack::Deflater
  </code></pre>
  <p>By the way, I use nginx and passenger. What else should I look for?</p>