Hybrid View
-
27 Sep 2012 7:12 PM #1
Answered: About offline app in Sencha Touch
Answered: About offline app in Sencha Touch
I need to create a offline app and to cache the home page.
This is my manifest file:
I cached the app/view/index/Card.js. But when the app is loaded, the app fetches the Card.js by the URL of "http://test.com/app/view/index/Card.js?_dc=1348797658172". It seems that the "_dc=1348797658172" disabled my Card.js cache.Code:CACHE MANIFEST CACHE: index.html app.json app.js lib/sencha-touch-all.js app/view/index/Card.js NETWORK: *
So any idea to solve the problem?!
Thanks..
-
Best Answer Posted by hadukiCode:
Ext.Loader.setConfig({ disableCaching: false }); Ext.application({/*build your app*/});
-
27 Sep 2012 7:38 PM #2
Code:Ext.Loader.setConfig({ disableCaching: false }); Ext.application({/*build your app*/});I write English by translator.


Reply With Quote