Hello All,
I have created a mobile app using UI5 and Phonegap. Am getting cache problem for Gateway Services.
For the first time when the service is executed it returns perfect data .And from the second time it returns the same set of data again and again from the cache.
If i clear the Application cache/data from the mobile app it returns me the fresh data .
Here am using sap.ui.model.odata.ODataModel for reading the GW services . if i directly do a $ajaxcall by passing "cache" : false it always returns me the fresh data(but do not want to use $ajax call).
For this sap.ui.model.odata.ODataModel i tried passing the below headers , but same cache problem.
Please help me in this.
The same question asked in the UI 5 forum, but got no reply . So i tried this mobile forum
Thanks in advance.
Cheers,
Aisurya