]> projects.mako.cc - selectricity/blobdiff - config/environments/production.rb
fixed and re-enabled support for memcache in the production site
[selectricity] / config / environments / production.rb
index cb295b83f17285331882dfdc0eebddaecf32f773..4bb13510ef6ff610417fb7dd61803e5795e8eee1 100644 (file)
@@ -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

Benjamin Mako Hill || Want to submit a patch?