1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Trying to gzip assets to render faster

This commit is contained in:
2015-04-21 19:36:55 -04:00
parent 42b46cb670
commit ef90577cf7

View File

@@ -7,6 +7,7 @@ require 'rails/all'
Bundler.require(:default, Rails.env)
module Wrestling
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
@@ -24,6 +25,8 @@ module Wrestling
config.assets.initialize_on_precompile = false
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
config.active_job.queue_adapter = :delayed_job
#gzip assets
config.middleware.use Rack::Deflater
end