X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/a12d4f62752f546f57421244e370e79965706ffb..adf9b5ec96187af2108c42791319cbe2a3366506:/config/environments/production.rb?ds=sidebyside diff --git a/config/environments/production.rb b/config/environments/production.rb index 5a4e2b1..3192ef5 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,5 +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 config.cache_classes = true @@ -14,5 +17,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