Permalink
Browse files

Use Rack::Deflater

  • Loading branch information...
1 parent 33d8087 commit c4c069c39e314cd3e7c2e3c433a6e4fc9b89b4a7 @koraktor committed Jan 2, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 config/environments/production.rb
@@ -28,4 +28,6 @@
'Cache-Control' => 'public, s-maxage=31536000, maxage=15552000',
'Expires' => 1.year.from_now.to_formatted_s(:rfc822)
}
+
+ config.middleware.use Rack::Deflater
end

0 comments on commit c4c069c

Please sign in to comment.