X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/5f51982916827b84d73bfa8f3a98a9ee1d48d3ce..f2db874f06622e5b7422dabc8e17396708277c56:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index cb295b8..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