-1

I have an offline-enabled mobile app built using SAPUI5 (A Javascript Framework) and deployed as a Hybrid App in SAP Cloud Platform (Which packages it up as a Cordova app for Android).

The strange thing is, the first batch of data (oData) requests ran after login ALWAYS take the longest. (Say 13 seconds to populate my view model). These are simply a sequence of READ requests on the offline store.

Every request after that, even for the exact same model object, is a lot faster, say 2-3 seconds.

Is there a reason for this? The architecture of the device maybe?

NOTE: The view model is being populated with new data each time.

Adam Harkus
  • 2,050
  • 2
  • 36
  • 64

1 Answers1

0

I confirm the issue was not with the READ. Rather the first REFRESH of the view model.

I'll raise another Q on this...

Adam Harkus
  • 2,050
  • 2
  • 36
  • 64