Thursday, September 5, 2013

Browser storage

There are the following storage types in browser side when do Javascript based web app.
  • Cookie: there is # of cookies per domain limit, and size limit (around 4K limit)
  • Memory: limit by system (?), data lost during browser refresh
  • WebStorage: (sessionStorage, or localStorage) - http://diveintohtml5.info/storage.html
  • AppCache:  It is to store the whole web-app (pages, images, css, JavaScript) in the browser to make it available offline.
  • Web SQL: relational database, SQLlite on browser, deprecated
  • IndexedDB: NoSQL DB on browser side. IndexedDB which is already available on Chrome 12+ and Firefox 5+, and, soon, in IE 10 as well.
  • GlobalStorage - deprecated

No comments:

Post a Comment