Permalink
Browse files

Added notice on how to enable gzip compression in rails app using Rac…

…k::Deflater. it is disabled & commented out by default.
  • Loading branch information...
1 parent cdc9031 commit ccd0b511c933d3e2c7f3e345622ad2cc17728de5 @gaurish gaurish committed Apr 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/lib/rails/generators/rails/app/templates/config.ru
@@ -1,4 +1,6 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
+# if you want to enable Enable gzip compression, use this line
+# use Rack::Deflater
run <%= app_const %>

0 comments on commit ccd0b51

Please sign in to comment.