Operation Cache Policies

Setting an operation cache policy for mobile business object (MBO) operations gives you more control of Unwired Server interactions with the enterprise information system (EIS) to which the MBO is bound, and Unwired Server cache (CDB) updates. Fine-tuning these interactions and updates improves both Unwired Server and device application performance.

MBO operations perform specific functions based on their definition:
Operation cache policies determine how the CDB is updated after an operation executes. The operation cache policy and option combinations from which to choose to associate with MBO CUD operations include:

When an MBO operation is called, its cache policy determines how operation results are applied to the CDB.

Other mechanisms used to update the CDB that are external to MBO operations, and not associated with operation cache policies include:
  1. EIS-initiated DCN – an HTTP request to Unwired Server, in which the DCN request contains information about the changed data, or the changed data itself.
  2. Scheduled data refresh – Unwired Server polls the EIS for changes at specified intervals.
  3. MBO cache group – every MBO belongs to a cache group that specifies a cache refresh policy for every MBO in that group. Plan carefully to maximize cache group and cache policy efficiency. Examples include:
    • A poorly designed MBO might have an operation with a cache policy that updates only the operation results to the CDB, but the MBO belongs to a cache group with an interval that refreshes the entire MBO on too short a schedule, minimizing the value of the cache policy.
    • This same MBO properly designed might have a cache group that refreshes the MBO nightly, increasing Unwired Server performance by deferring load from peak usage hours.