- The store in your browser
- Sakshi Mehra
What is IndexedDB?
HTML5 API to store data in browser
Can store large amount of data on client side
It stores key-pair values
Allows fast indexing and searching
It is not a structured query language
It is non-relational (A NoSQL database)
Works in asynchronous mode
Internet Explorer 10+
Chrome for Android
Firefox for Android
- Very simple API
- but usage is capped at 5 MB
- good browser support
- supported only on Chrome and Safari
- relational database implementation
IndexedDB is the successor to both LocalStorage and WebSQL
Let’s understand how.
Hence came IndexedDB up in its preference!!
All IndexedDB functionality is accessed through
window.indexedDB = window.indexedDB || window.mozIndexedDB ||
window.webkitIndexedDB || window.msIndexedDB;