Feb 18, 2025
For 1, I use pagination with latest data and set max cache size and older data are removed with cache eviction policies.
For 2, Data synchronization is done every time user updates or retrives data from the local db and if any issue appears(like cache conflicts) most of the time I limit the functionality of the app until connection is restored.
If you have better way share it please.