Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache: Enable compression by default for values > 1kB #31147
Compression has long been available, but opt-in and at a 16kB threshold.
Compression dramatically reduces Memcached/Redis mem usage, which means
To disable compression, pass
Yup, for months now. Great results alongside cache key recycling. Together, these are crucial for a well-behaved Redis cache. Clear highlights: large drop in cache network bandwidth; large increase in # of active cache entries. We will be sharing more along with Rails 5.2 release.