Brotli and Gzip Compression for Assets and JSON API in Rails Updated May 26, 2020 8 minute read HTTP content compression has a significant impact on the client-side performance of a web app. In this blog post, I’ll describe different methods for compressing dynamic and static content in Ruby on Rails apps using Gzip and Brotli algorithms. We’ll start by describing what exactly is a content compres
![Brotli and Gzip Compression for Assets and JSON API in Rails](https://cdn-ak-scissors.b.st-hatena.com/image/square/b48e2614b62bb0b8b6163c2bccd8e1bb2d0f42cf/height=288;version=1;width=512/https%3A%2F%2Fpawelurbanek.com%2Fassets%2Fgzip-brotli-dog-a67868a96b4b8f5dc51204ab95a555c7b238031747b6232a5bcd24cb5fb34c36.jpg)