From 859aa33abf02adcb41efc747149e490e1cbdbb46 Mon Sep 17 00:00:00 2001 From: Jan-Willem van der Meer Date: Fri, 8 Aug 2014 17:14:57 +0200 Subject: [PATCH] Disable debug of assets by default This reduces the time to load a page in development mode by 200% --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 356e26bd68..03af7f0786 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -23,7 +23,7 @@ Gitlab::Application.configure do config.assets.compress = false # Expands the lines which load the assets - config.assets.debug = true + # config.assets.debug = true # For having correct urls in mails config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }