View Full Version : locally cached ajax dataReader?

19 Apr 2011, 6:06 PM
has anyone written an extension or dataReader that uses ajax to get data, but will first attempt to load the data from the local storage and then try to refresh it from the server? it could be html5 storage or phonegap local device storage.

this would be fantastic for making apps that would load instantly, even if offline. but then refresh the data if the server was available. if the server was available, that would save to the local storage for the next time. similar to many mobile apps like facebook for example.

thanks for any tips or suggestions.

20 Apr 2011, 12:18 AM
hi jason,

not an extension ready to use, but a very simple way to get what u want:
would be nice to have this somehow bundled in an onlineOfflineProxy.


10 Jun 2011, 1:49 AM
I couldn't make the sample to work on an android2.2 phone. Any clue?