unless Rails.env.production?
  Rails.cache.logger = Rails.logger
end
unless Rails.env.production?
  Rails.cache.logger = Rails.logger
end

revision = Rails.root.join('REVISION')

if revision.exist?
  ENV['RAILS_CACHE_ID'] = revision.read[0,7]
end
Set RAILS_CACHE_ID to the current revision if available.
Set RAILS_CACHE_ID to the current revision if available.

This will ensure unique etags/cache keys.
