8 Jun 2012 1:46 AM #1
Unanswered: How to cache remote resouces in production build
How to cache remote resouces in production build?
Means my JSON feed in stored on a remote server & it contains some assets like images in it (in JSON feed).
My requirement is to cache the JSON feed as well as the assets that the JSON feed contains when I create the production build.
Also is there a way to refresh these cached resources?
My remote data is not changing frequently, that's why I want this behavior. And refresh if the remote data is changed
10 Jun 2012 9:37 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
If you create your app with Sencha Command (which I would highly suggest always using) then open up app.json and you will see an appCache property in that json file. This is used to generate the cache manifest file.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.