Commit memcache work. memcache is only enabled in production, and currently only...
[selectricity-live] / config / environments / production.rb
index cb295b83f17285331882dfdc0eebddaecf32f773..3192ef53fe394680cdc5785a3605c9ccfc1656ca 100644 (file)
@@ -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

Benjamin Mako Hill || Want to submit a patch?