Smp 3.0 sp03 Offline Caching Issue in Android App
After I apply GET request for a URL in Android app, I use mergeEntries to update cache for entries but I realized that cache.mergeEntries method just updates server cache, not a local cache.
Also, cache.readEntriesLocal method just gives me entries that are added by cache.addEntry(entry)
Is there any way to fill up local cache with all server entries after GET request ?
Jan Gold replied
there is no method in SDK libraries, that will help you with such action.
If you really need to save all entries from your server cache to your local cache, you will need to do it by your self.
After you save entries from GET request use Cache#readEntriesServer (reed all entries from server cache) and then Cache#addEntry (store the entries into local cache).
Just let me ask you why do you need this?
Do you use delta token?