3 ms·
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`:
by jonathanhefner 3y ago
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/Store.html#method-c-new https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Cache...
- pawurb 3y agoThanks, I wasn't sure when it will be live. I'll update the post to reflect it.
- booleanbetrayal 3y agoThanks for this. Will likely defer until this lands, but looking forward to trying out Brotli and Zstd for this use case!