May 16, 2013
@ 11:49 PM
1. IE8+ , chrome , firefox and safari support web storage
2. There are two types of web storage : localStorage and sessionStorage
3. sessionStorage expired after window/tab closed
4. localStorage never expired, it need be clean or removed by script
5. localStorage maxium size is 5M, but for safari, actually only 2.6M
6. Use localStrage['key'] get good performance in most of browser (not always best,but good enough)


 
Categories: Html5