Unanswered: How to cache remote resouces in production build
Unanswered: How to cache remote resouces in production build
Hi,
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
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.