# Use a different cache store in production
if defined?(MEMCACHE_SERVERS)
- MEMCACHE = Memcached::Rails.new(MEMCACHE_SERVERS, :binary_protocol => true)
- config.cache_store = :mem_cache_store, MEMCACHE
+ config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache")
end
# Enable serving of images, stylesheets, and JavaScripts from an asset server