From 9aa1d5a26ccad8c192d3722e7e36fc7d6407cf69 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Mon, 3 Mar 2014 18:50:59 -0800 Subject: [PATCH] Okay, we'll just let Cloudflare compress things. --- server_setup.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server_setup.coffee b/server_setup.coffee index ff04b7b15..d15035c53 100644 --- a/server_setup.coffee +++ b/server_setup.coffee @@ -47,8 +47,7 @@ setupExpressMiddleware = (app) -> app.use(express.bodyParser()) app.use(express.methodOverride()) app.use(express.cookieSession({secret:'defenestrate'})) - if config.isProduction - app.use(express.compress()) + #app.use(express.compress()) if config.isProduction # just let Cloudflare do it setupPassportMiddleware = (app) -> app.use(authentication.initialize())