How to Improve Rails Caching with Brotli Compression
pawelurbanek.com
pawelurbanek.com
https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Cache...
https://raw.githubusercontent.com/facebook/zstd/v1.3.4/doc/i...
> Optionally, you can hook up a custom compression algorithm. For example, Google Snappy offers even better performance than Brotli for the cost of worse compression ratios. ZSTD by Facebook is also worth checking out.
(...)
> The great news is that support for custom cache compression algorithms has recently been merged into the Rails main branch. But it may take a while before it’s available in a production Rails release.
https://chromium.googlesource.com/external/font-compression-...
There are other factors that make Brotli good, but this is good to understand when dealing with web frontends.