密码端数据存储,DOM存储或HTML5本地存储? [英] Clent-side data storing,DOM storage or HTML5 Local Storage?
问题描述
作为这个特定主题的完整新手,我需要SO专家和大师的一些帮助。
这两个优点和缺点是什么?可以比较这两个,以便我可以深入理解或给出一些参考链接。
DOM存储或Web存储是HTML5中可用的以下类型的客户端存储选项的集合名称。它包括:
本地存储是持久的,意味着当您关闭并重新打开浏览器窗口时,存储的数据将仍然存在。
会话存储是暂时的,只要页面会话持续,就可以使用。
真的没有比较两者之间,因为技术上他们都是一样的。
Im really confused when thinking about my requirement to store data locally for offline viewing.Now i have two options,DOM storage and HTML5 Local storage. As im a complete newbiew in this particular topic,i need some help of SO Experts and Gurus. Whats the Advantage and Dis-advantage of these two.?can any one compare these one.,so that i can understand deeply or give some reference links?
DOM Storage or Web Storage is the collective name given to the following types of client storage options available in HTML5. It includes:
Local storage is persistent meaning the stored data will still be there when you close and re-open the browser window.
Session storage is temporary and is available as long as the page session lasts.
There is really no comparison between the two since technically they both are the same.
这篇关于密码端数据存储,DOM存储或HTML5本地存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!