One of the most interesting features in HTML5 is the ability to store data locally and to allow the application to run offline. There are three different APIs that deal with these features and choosing one depends on what exactly you want to do with the data you're planning to store locally:
Web 存储: 用于具有键/值对的基本本地存储
Offline storage: Uses a manifest to cache entire files for offline
使用