Each cache group has a cache group policy that defines the data refresh properties/schedule for the mobile business objects (MBOs) within them. Create as many cache groups as required to meet the varying data refresh needs of the MBOs for a given mobile application project.
Policy | Description |
---|---|
On demand |
Application logic combined with the cache interval determines when a cache refresh is triggered. The cache is not updated until a request is made of the cache and the cache has expired. If a request is made of the cache and it has expired, there may be a delay responding to the request while the cache is refreshed. You can select Partition by Requester and Device Identity only if using an On demand policy. To enable, select this option from the Cache Group Property Policies tab. |
Scheduled |
The cache is refreshed when a scheduled task executes, and can be defined by the SAP Mobile Server administrator or by setting the cache interval. Note that load parameters filled from transient personalization keys can not be used with a scheduled cache type. |
DCN |
The cache never expires. Data refresh is triggered by an EIS Data Change Notification. The cache interval fields are disabled when DCN is selected. |
Online |
Used strictly with Hybrid App applications where access to real-time EIS data is required, bypassing the SAP Mobile Server cache (CDB). See Online Cache Group Policy |
EIS managed |
The EIS
manages data refresh through DCN messages,
including managing partitions, user subscriptions
to those partitions, and data updates. Selecting
this option enables:
|
If the cache interval is set to zero, each device-initiated synchronization refreshes the entire cache prior to synchronization. While this ensures the device receives up-to-date EIS data, it is costly in terms of resources.
A Scheduled cache policy does not support a zero interval.