Sencha store cache
We are currently building an app using Sencha Touch 2.0.3 using the following steps
1) We are getting JSON data from the database and storing it in HTML5 Local Storage of the phone.
2) We are using this Local Storage data to populate content within our app screens through stores.
3) During the Login AND Logout process, we first delete the entire local storage and even set individual objects to null. We then receive all the content from the database mentioned in Step 1 above.
We tested the app using a test database and recently switched to production database with new content. But, when we logged in (got new json data), we see the new data, but also see some old entries from the test database.
Does this mean Sencha is caching the data somewhere? if so, how to reset (delete) it?
Touch is not storing data unless you are having the localstorage to save it. Are you on iOS 6 where they cache POST requests?
Thank you for your response. It seems the problem is really in the local storage. Function localStorage.clear() does not always delete all the items.