Enable encryption for Solid Cache values
mainTo encrypt cache values, enable the encrypt property. This requires your application to be configured to use Active Record Encryption.
Via config/cache.yml:
production:
encrypt: trueVia Rails configuration:
# application.rb
config.solid_cache.encrypt = trueSolid Cache uses a custom encryptor and ActiveRecord::Encryption::MessagePackMessageSerializer by default, which is optimized for binary columns and can store ~40% more data than the standard serializer.
# config/cache.yml
production:
encrypt: true