Braumeister::Application.configure do
  config.cache_classes = true

  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  config.serve_static_assets = true

  config.assets.compress = true
  config.assets.compile = false
  config.assets.digest = true
  config.assets.precompile += %w{google-analytics.js}

  config.i18n.fallbacks = true

  config.active_support.deprecation = :notify

  config.log_level = :warn

  config.cache_store = :dalli_store, {
    metastore:   "memcached://#{ENV['MEMCACHE_SERVERS']}/meta",
    entitystore: "memcached://#{ENV['MEMCACHE_SERVERS']}/body"
  }
end

Braumeister::Application.configure do
  config.cache_classes = true

  config.consider_all_requests_local       = false
  config.action_controller.perform_caching = true

  config.serve_static_assets = true

  config.assets.compress = true
  config.assets.compile = false
  config.assets.digest = true
  config.assets.precompile += %w{google-analytics.js}

  config.i18n.fallbacks = true

  config.active_support.deprecation = :notify

  config.log_level = :warn

  config.cache_store = :dalli_store,
                       ENV["MEMCACHIER_SERVERS"].split(","),
                       {
                         :username => ENV["MEMCACHIER_USERNAME"],
                         :password => ENV["MEMCACHIER_PASSWORD"]
                       }
end

Switch to Memcachier for memcache
Switch to Memcachier for memcache
