Permalink
Browse files

Gzip all the things

  • Loading branch information...
schneems committed Sep 7, 2017
1 parent b5ed52c commit b3d7a1186e21608052f48d9a9c86eb4c400b7b40
Showing with 1 addition and 0 deletions.
  1. +1 −0 config/application.rb
@@ -26,5 +26,6 @@ class Application < Rails::Application

config.force_ssl = ENV["APPLICATION_HOST"]
config.middleware.insert_after ActionDispatch::SSL, Rack::CanonicalHost, ENV["APPLICATION_HOST"] if ENV["APPLICATION_HOST"]
config.middleware.insert_after ActionDispatch::Static, Rack::Deflater
end
end

3 comments on commit b3d7a11

@rubendinho

This comment has been minimized.

Copy link

rubendinho replied Nov 15, 2017

what's an easy way to measure before-and-after for this change?

@vijayvardhan94

This comment has been minimized.

Copy link

vijayvardhan94 replied Nov 3, 2018

you can measure it with siege

@schneems

This comment has been minimized.

Copy link
Member

schneems replied Nov 4, 2018

Please sign in to comment.