ApplicationCache

I want to be able to execute a dhx.ajax call and store the results offline with the option to access it without having to execute the ajax call. The storing I am clear on but I’m not sure how to access the stored data without executing the ajax call again.

Any ideas?

You can try dhx.storage.local.put/get:

  • put() can be called after successful response;
  • in case of error response you should get data from storage.

Thanks - the local and session storage options work nicely and compiled into an Android app too.