Adjusting the performance of offline-enabled mobile apps
Take advantage of several mechanisms that optimize the performance of your offline-enabled mobile apps.
You can use the optimization mechanisms to deal with large amounts of data that are transferred when users log in for the first time and when the mobile client synchronizes with the server after a longer period without a network connection. Additionally, you can ensure that the data that is already available on the device is accessible by the app in a way that guarantees robust and optimal performance.
For example, you can make data synchronization in your offline-enabled app more efficient by configuring data sources for your app as large data pages. Then, the mobile client pulls only the data that has changed since the last synchronization instead of the whole content of the page.
- Improving the synchronization of offline-enabled mobile apps with large data pages
Ensure a smooth user experience at run time and improve the speed of synchronization after your offline-enabled mobile app reestablishes connectivity by configuring the app to synchronize only new or altered data.
- Caching data in offline-enabled mobile apps
Help users begin their work without unnecessary delays by enabling caching in offline-enabled mobile apps and including the cached data in the app executable files. By caching common rules and storing them in the app bundle, you ensure that the app starts faster when users launch it for the first time.
- Disabling processing of attachments and signatures in offline mode
Improve the performance of your offline-enabled mobile app by disabling the processing of attachments and signatures. For example, if you know that your app users do not need to work with any attachments in offline mode, you can disable attachment support.
- Limiting offline packaging to data from the user's worklist
Decrease the duration of data synchronization and limit the amount of data that the offline-enabled mobile app downloads, by implementing optimistic packaging for offline-enabled case types during data synchronization. With optimistic packaging, the app only packages and downloads the current flow that is active on the user's worklist.
- Disabling server-side postprocessing in offline cases
Avoid redundant processing of actions and increase app performance by disabling server-side postprocessing in offline-enabled cases.
- Configuring external temporary storage options for attachments in offline mode
Take advantage of your external storage solutions, such as Amazon S3 or Microsoft Azure, by using these solutions to store temporary files that are sent from your offline-enabled mobile app.
- Configuring action queue management in offline mode
Adjust the synchronization process to your business case by specifying how Pega Platform handles action queues from the client before performing the actions on the current application data in the server database.
Previous topic JavaScript API for scheduling any activity in offline mode Next topic Improving the synchronization of offline-enabled mobile apps with large data pages