Rack::Deflaterを使えば一瞬でできる。
config/application.rb
module YourApp
class Application < Rails::Application
config.middleware.use Rack::Deflater
end
end
Go to list of users who liked
More than 5 years have passed since last update.
Rack::Deflaterを使えば一瞬でできる。
module YourApp
class Application < Rails::Application
config.middleware.use Rack::Deflater
end
end
Register as a new user and use Qiita more conveniently
Go to list of users who liked