cache_buster.rb 265 B

12345678910
  1. # frozen_string_literal: true
  2. Rails.application.configure do
  3. config.x.cache_buster_enabled = ENV['CACHE_BUSTER_ENABLED'] == 'true'
  4. config.x.cache_buster = {
  5. secret_header: ENV['CACHE_BUSTER_SECRET_HEADER'],
  6. secret: ENV['CACHE_BUSTER_SECRET'],
  7. }
  8. end