Manage state and storage
Modern browsers, such as Internet Explorer 10 and later, provide these ways to manage session history for dynamic content and save data to the client. Here, we introduce the features Internet Explorer supports for these tasks and provide links to more info.
Use these links to get started:
|HTML5 History||HTML5 History provides fine-grained control over the behavior of the back button and the URL presented to the user for dynamic content, enabling you to improve the performance of your site without sacrificing usability.|
|Web Storage||Local storage is similar to traditional cookies but provides significantly greater flexibility and size.|
|File API||Web developers can finally modify files locally in a safe and secure way.|
|Indexed Database||IndexedDB enables you to store, search, and retrieve data locally, even when Internet connectivity is disabled.|
|AppCache||Application Cache (AppCache) enables you to create offline web applications by saving resources locally, including images, script libraries, style sheets, and so on. In addition, AppCache allows URLs to be served from cached content using standard Uniform Resource Identifier (URI) notation.|
Want to see full examples of these state and storage technologies in action? Check out the links in the following table.
|HTML5 History||Draw on a canvas, then use the browser back button to undo your marks with this simple demo using HTML5 History. For more info, see the IEBlog.|
|Web Storage||Introduction to Web Storage and How to save files locally using web storage are great ways to get started with web storage. Then, in Writing a Data-Centric Web Application using HTML5 Local Storage, you learn to build a business app that allows offline editing on the Web.|
|File API||See How To Manage Local Files to get started with this somewhat complex API.|
Learn how to integrate IndexedDB into your website with the How to create a tag cloud using IndexedDB tutorial.
|AppCache||As previously mentioned, AppCache enables you to create long lived local caches of downloaded file resources. To get started, see Building Offline Experiences with HTML5 AppCache and IndexedDB.|
Build date: 3/14/2013