diff --git a/lib/sidekiq/web.rb b/lib/sidekiq/web.rb index 6d761fc2..1ee1c489 100644 --- a/lib/sidekiq/web.rb +++ b/lib/sidekiq/web.rb @@ -128,7 +128,7 @@ module Sidekiq ::Rack::Builder.new do %w(stylesheets javascripts images).each do |asset_dir| map "/#{asset_dir}" do - run ::Rack::File.new("#{ASSETS}/#{asset_dir}") + run ::Rack::File.new("#{ASSETS}/#{asset_dir}", { 'Cache-Control' => 'public, max-age=86400' }) end end