You are here:
Use Custom Caches to Return Immutable Objects on Production Instances
Custom caches are designed to return immutable copies of the original objects stored in the cache. Previously, edge cases existed where objects and arrays in custom caches could be modified. This issue has been fixed.
When: This change becomes effective with the B2C Commerce 22.3 release, and applies to all production instances. Previously, with the 22.1 release, this change was made for all sandbox, development, and staging instances.
How: If you don’t use custom caches or use custom caches in the intended and documented way, no action is required. In the rare case that you use custom caches with code that performs an operation to modify the state of an object returned by custom cashes, a code change is required to avoid a failure exception, when calling the affected operation.

