Upcoming in Rails 7.1, you can specify a custom compressor for your cache, out of the box. See the `:compressor` option of `ActiveSupport::Cache::Store.new`:
https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Cache...
https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Cache...