Explicity compress assets

This commit is contained in:
James Mason 2017-11-12 20:59:48 -08:00
parent 8e91f51940
commit 26b6902af3
2 changed files with 7 additions and 0 deletions

View file

@ -60,6 +60,9 @@ module Osem
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
# Set cache headers
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=31536000' }
config.active_job.queue_adapter = :delayed_job
end
end