Creating mobile Web applications with HTML 5, Part 2: Unlock local storage for mobile Web applications with HTML 5 One of the most useful new features in HTML 5 is the standardization of local storage. Finally, Web developers can stop trying to fit all client-side data into 4 KB Cookies. Now you can store large amounts of data on the client with a simple API. This is a perfect mechanism for caching, so you can dramatically improve the speed of your application—a critical factor for mobile Web applications that rely on much slower connections than their desktop brothers. In this second article in this series on HTML 5, you will see how to use local storage, how to debug it, and you will see a variety of ways to use it to improve mobile Web applications. in Development > Mobile Web Appswith appsarticlecachedevelopmenthtml5localmobilestorageweb
Enable HTML5 Offline Web Application with Dojo 1.7 (Web 2.0 and Mobile Development Community) HTML5 offline web application is a wonderful technology that let web applications work without network connection, which is especially useful for mobile web applications since wireless network is not as stable as wire network is. According to W3C specification of offline web application, developers needs to provide a manifest file if they want to enable the offline cache capability. The manifest file lists all the resources that will be offline cached and needs to be referenced in HTML page like this. <html manifest=”cache.appcache”> The cache.appcache needs to be served as “text/cache-manifest” content-type and the browser will fetch all of the resource files in the manifest during the first load or whenever the content of manifest is updated. in Development > Mobile Web Appswith appscachehtml5ibmmobileofflinestorageweb