Rails 5.2 added method write_multi to write multiple entries to cache store
Before 5.2 it was not possible to write multiple entries to cache store in one shot even though cache stores like Redis has MSET command to set multiple keys in a single atomic operation. Rails 5.2 adds method that allow us to set multiple entries at once.
Read about it here
Post a comment