{"issue":{"created_at":"2011-12-15T18:45:09Z","state":"open","updated_at":"2011-12-15T19:14:31Z","user":{"gravatar_id":"2435dc583a201fcea52c05647ffd3d4d","id":164005,"url":"https://api.github.com/users/jbmurphyusa","avatar_url":"https://secure.gravatar.com/avatar/2435dc583a201fcea52c05647ffd3d4d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jbmurphyusa"},"comments":1,"body":"using theExt.i18n.Bundle [Test] on Sencha Touch App \r\nworks fine online, however, does not work in offline mode.\r\nlooking in the browsers application cache I can see all the files are loaded, however, silent exception gets thrown and I was thinking it may have to do with this issue: http://www.sencha.com/forum/showthread.php?134611-HTML5-offline-mode-AJAX-bug\r\n\r\n\r\nadd the reference to the manifest to the html tag in the index.html <html manifest=\"app.manifest\">\r\n\r\nCreate this manifest\r\n\r\n#app.manifest\r\nCACHE MANIFEST\r\n\r\n../senchatouch/resources/css/sencha-touch.css\r\n../senchatouch/sencha-touch-debug.js\r\nresources/Application.properties\r\nresources/Application_en-US.properties\r\nresources/Application_es-ES.properties\r\njs/PropertyReader.js\r\njs/Bundle.js\r\njs/test.js\r\n\r\nNETWORK:\r\n*\r\n#EOF\r\n\r\n","assignee":null,"id":2570697,"number":1,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Offline mode","html_url":"https://github.com/elmasse/Ext.i18n.Bundle-touch/issues/1","closed_at":null,"url":"https://api.github.com/repos/elmasse/Ext.i18n.Bundle-touch/issues/1","milestone":null},"action":"created","comment":{"created_at":"2011-12-15T19:14:31Z","updated_at":"2011-12-15T19:14:31Z","user":{"gravatar_id":"e110e489e847bf807688f7238772c875","id":223235,"url":"https://api.github.com/users/elmasse","avatar_url":"https://secure.gravatar.com/avatar/e110e489e847bf807688f7238772c875?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"elmasse"},"body":"I might be wrong but, have you tried to specify noCache: false? By default it is true in AjaxProxy meaning that an extra parameter is added to avoid the call to be cached by cache servers so, if I'm not saying something stupid and HTML5 offline cache works in the same way as page cache, then that should make your call to be not retrieved from local offline cache.\r\n\r\nTo make it clear, you should invoke bundle as:\r\n\r\nbundle = new Ext.i18n.Bundle({\r\n                    bundle:'Application', \r\n                    path:'resources', \r\n                    lang: lang,\r\n                    noCache: false // this should make the trick\r\n});\r\n\r\n\r\n\r\n\r\nPlease let me know if you can make it work with that.","id":3167283,"url":"https://api.github.com/repos/elmasse/Ext.i18n.Bundle-touch/issues/comments/3167283"}}