X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/a12d4f62752f546f57421244e370e79965706ffb..2facf9c3cba1ddc270c84a713cafbe6eb7280efd:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 5a4e2b1..4bb1351 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,8 @@ # 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 @@ -14,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