Invalidate the Cache Data Flow

Understand how the "Invalidate the cache" operation cache policy invalidates the cache after an EIS operation.

In this example the partition for the Order MBO is defined by the customerId attribute. The REST service exposes an Order GET operation that takes customerId as a parameter, and returns a subset/partition of Order data specific to customerId. The REST service also exposes an Order POST operation that takes an Order graph as a parameter:
  1. The "Invalidate the cache" operation cache policy associated with the MBO Update operation invalidates the cache partition after the REST Service POST is invoked.
  2. The next client data synchronization for the invalid partition triggers the REST Service GET operation that takes customerId as an input parameter.
  3. The REST Service returns all orders for the given customerId (a partition) and the cache manager merges the orders as well as the order/items into the cache.