Y
Hacker News
new
|
ask
|
show
|
jobs
by
jonathanhefner
1017 days 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...
2 comments
booleanbetrayal
1016 days ago
Thanks for this. Will likely defer until this lands, but looking forward to trying out Brotli and Zstd for this use case!
link
pawurb
1017 days ago
Thanks, I wasn't sure when it will be live. I'll update the post to reflect it.
link