Commit 75277b4d authored by Maxwell Salzberg's avatar Maxwell Salzberg
Browse files

gzip outgoing stuffs for great success

parent 33efa45e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,6 +12,6 @@ require ::File.expand_path('../lib/rack/chrome_frame', __FILE__)
if defined?(Unicorn)
  use UnicornKiller::Oom, 300 * 1024
end

use Rack::Deflater
use Rack::ChromeFrame, :minimum => 8
run Diaspora::Application
+1 −0
Original line number Diff line number Diff line
@@ -4,4 +4,5 @@

Diaspora::Application.configure do
  config.serve_static_assets = AppConfig[:serve_static_assets] unless AppConfig[:serve_static_assets].nil?
  # config.static_cache_control = "public, max-age=3600" if AppConfig[:serve_static_assets].to_s == 'true'
end