Re: GWT App in Offline mode

2014-08-29 Thread Nikola Ljumovic
Thanks for you answer Peter. I'm mostly concerned about the third issue. I mean, what if the total size of images that I need to cache exceeds 5MB that are available in Local Storage? On Thursday, 28 August 2014 10:39:02 UTC+2, Peter Donald wrote: Hi, We store the required subset of the

Re: GWT App in Offline mode

2014-08-29 Thread Thomas Broyer
Maybe you could generate the appcache manifest dynamically to include those images? On Friday, August 29, 2014 9:23:28 AM UTC+2, Nikola Ljumovic wrote: Thanks for you answer Peter. I'm mostly concerned about the third issue. I mean, what if the total size of images that I need to cache

GWT App in Offline mode

2014-08-28 Thread Nikola Ljumovic
Hi all, I have to enable my app to work in offline mode and to continue working even if the browser is reloaded. I'm currently struggling with caching. I thought of doing the following: - Get all the needed data from the server when the application loads (list of app users, user roles,

Re: GWT App in Offline mode

2014-08-28 Thread Peter Donald
Hi, We store the required subset of the application in local storage [2] (or in WebSQL or in IndexedDB [1] depending on browsers). We also make heavy use of the AppCache [3,4] spec to cache the application code and resources. We also treat user supplied data such as images much like the rest of