Understand the role of cache group policies and the effect of cache refresh.
SAP Mobile Platform supports five cache
group policies, four of which are relevant to loading data into the cache. The Online
cache group policy is used only by Hybrid Apps that
require access to non-cached data:
- Scheduled and On-Demand policies are based on data retrieval APIs
exposed by the EIS.
- DCN policies (DCN and EIS managed) utilize notification messages
from the EIS that push both initial data and changes to the CDB.
The cache group policy for a particular cache group depends largely on the
characteristics of the data contained within. In general, if the EIS can push and data
inconsistency can be tolerated, a DCN policy is the appropriate choice.
The following flow chart attempts to capture the logic in choosing an appropriate
cache group policy. However, use this as a reference only. Actual requirements vary due
to many factors, and you should test your cache groups in a realistic test environment
to understand timing, data flow cost, EIS load and user experience. The DCN block
represents either DCN or EIS managed.