Rack::Deflater Middleware for gzipping HTML content
https://www.youtube.com/shorts/aFQ2QeVTvzk
Rack::Deflater will enable gzip compression of html content
on servers where there is no reverse proxy (like Nginx) in front of app server. E.g on Puma on Heroku.
Rack::Deflater will enable gzip compression of html content
on servers where there is no reverse proxy (like Nginx) in front of app server. E.g on Puma on Heroku.
# config/application.rb # ... config.middleware.use Rack::Deflater # gzip content when no reverse proxy (e.g. on Heroku) #...