X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/cc4532dee83d19baf79b35fadf7064b9b5c3948a..HEAD:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index f2b9ed6..4bb1351 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,10 +1,15 @@ +# Settings specified here will take precedence over those in config/environment.rb +# +#Enable memcache +require('memcache') +Cache=MemCache.new('localhost', :compression => true) + # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Use a different logger for distributed setups -# config.logger = SyslogLogger.new - +# config.logger = SyslogLogger.new # Full error reports are disabled and caching is turned on config.action_controller.consider_all_requests_local = false @@ -13,5 +18,5 @@ config.action_controller.perform_caching = true # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" -# Disable delivery errors if you bad email addresses should just be ignored +# Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false