Good afternoon people I configured the
# avo-2
m
Good afternoon people! I configured the "config.middleware.use Rack::Deflater" in the application.rb, but it seems that the responses are not being compressed with Gzip. Does anyone know if I need to do any additional configuration with AVO?
l
not to my knowledge
looking into it
try adding this to
avo.rb
Copy code
ruby

module Avo
  class Engine < ::Rails::Engine
    initializer "avo.add_middleware" do |app|
      app.middleware.use Rack::Deflater
    end
  end
end