# Use a different cache store in production
if defined?(MEMCACHE_SERVERS)
- config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache")
+ config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache", :no_block => true, :buffer_requests => true, :noreply => true)
end
# Enable serving of images, stylesheets, and JavaScripts from an asset server
config.assets.precompile += %w( openlayers.js )
config.assets.precompile += %w( large-ltr.css small-ltr.css print-ltr.css )
config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css )
- config.assets.precompile += %w( browse.css theme/default/style.css )
+ config.assets.precompile += %w( browse.css theme/openstreetmap/style.css )
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false