From 7b1295884861b222e441f431089ea3a6d99fd569 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Thu, 10 Jan 2013 11:45:46 +0100 Subject: Started to fragment cache gs_parameter views. --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/environments') diff --git a/config/environments/development.rb b/config/environments/development.rb index bd34e4f..5130681 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -11,7 +11,7 @@ Gemeinschaft42c::Application.configure do # Show full error reports and disable caching config.consider_all_requests_local = true - config.action_controller.perform_caching = false + config.action_controller.perform_caching = true # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false -- cgit v1.2.3 From 2b57fadfebf7f7df6a589ab089eec522413e8390 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Thu, 10 Jan 2013 12:29:07 +0100 Subject: Added fragment caching to gs_parameters. --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/environments') diff --git a/config/environments/development.rb b/config/environments/development.rb index 5130681..5076f48 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -11,7 +11,10 @@ Gemeinschaft42c::Application.configure do # Show full error reports and disable caching config.consider_all_requests_local = true + + # Enable caching for development config.action_controller.perform_caching = true + CacheDigests::TemplateDigestor.cache = ActiveSupport::Cache::NullStore.new # Don't care if the mailer can't send config.action_mailer.raise_delivery_errors = false -- cgit v1.2.3 From ae296748501982bac71525507ff9c1fdfefb8ad2 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Thu, 10 Jan 2013 12:35:36 +0100 Subject: Activated memcached as the cache store. --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/environments') diff --git a/config/environments/production.rb b/config/environments/production.rb index 4e5bdd8..26b2f35 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -37,7 +37,7 @@ Gemeinschaft42c::Application.configure do # config.logger = SyslogLogger.new # Use a different cache store in production - # config.cache_store = :mem_cache_store + config.cache_store = :mem_cache_store # Enable serving of images, stylesheets, and JavaScripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" -- cgit v1.2.3 From b65c9f21c97371b6fbdeeae2e44f4111313b4337 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Fri, 11 Jan 2013 10:30:24 +0100 Subject: Activated dalli as the memcached client. --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/environments') diff --git a/config/environments/production.rb b/config/environments/production.rb index 26b2f35..f715d91 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -37,7 +37,7 @@ Gemeinschaft42c::Application.configure do # config.logger = SyslogLogger.new # Use a different cache store in production - config.cache_store = :mem_cache_store + config.cache_store = :dalli_store # Enable serving of images, stylesheets, and JavaScripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" -- cgit v1.2.3 From 8b37b125399ba4019091b83efe889dc8af89185f Mon Sep 17 00:00:00 2001 From: Julian Pawlowski Date: Fri, 18 Jan 2013 13:41:02 +0100 Subject: set log_level to warn for production environment (takeover from GBE) --- config/environments/production.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/environments') diff --git a/config/environments/production.rb b/config/environments/production.rb index f715d91..344f8f8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -30,8 +30,8 @@ Gemeinschaft42c::Application.configure do # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # config.force_ssl = true - # See everything in the log (default is :info) - # config.log_level = :debug + # Show only warnings in log files + config.log_level = :warn # Use a different logger for distributed setups # config.logger = SyslogLogger.new -- cgit v1.2.3 From 66147369d3f1a96ebd7c20bb89165a116ec1e147 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Sun, 20 Jan 2013 19:20:30 +0100 Subject: Use thin to get rid of those annoying "WARN Could not determine content-length of response body." log entries. --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/environments') diff --git a/config/environments/development.rb b/config/environments/development.rb index 5076f48..1a3acae 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -40,7 +40,7 @@ Gemeinschaft42c::Application.configure do # Enable Hirb: extend Hirb::Console - Hirb::View.enable + Hirb::View.enable end -- cgit v1.2.3 From 18ed88c7e3c789366f6e5443dc4ee0bc981a4b88 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 21 Jan 2013 20:18:16 +0100 Subject: Started the migration to Twitter Bootstrap. --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/environments') diff --git a/config/environments/development.rb b/config/environments/development.rb index 1a3acae..e677834 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -13,7 +13,7 @@ Gemeinschaft42c::Application.configure do config.consider_all_requests_local = true # Enable caching for development - config.action_controller.perform_caching = true + config.action_controller.perform_caching = false CacheDigests::TemplateDigestor.cache = ActiveSupport::Cache::NullStore.new # Don't care if the mailer can't send -- cgit v1.2.3