Content deleted Content added
m กำหนดการเดินทาง Tags: Reverted 2017 wikitext editor |
Removing notice of move discussion |
||
(11 intermediate revisions by 10 users not shown) | |||
Line 1:
{{Infobox technology standard
| title = IndexedDB
Line 13:
| version_date = 11 March 2021<ref name="standard">{{Cite web|url=https://www.w3.org/TR/IndexedDB/|title=Indexed Database API 3.0|editor-first=Ali|editor-last=Alabbas|editor-first2=Joshua|editor-last2=Bell|author=Web Applications Working Group|publisher=Web Applications Working Group|website=W3C|version=W3C First Public Working Draft|date=2021-03-11|access-date=2021-05-15}}</ref>
| preview = Editor's Draft
| preview_date = 11 March 2021<ref name="standard-draft">{{Cite web|url=https://w3c.github.io/IndexedDB/|title=Indexed Database API 3.0|editor-first=Ali|editor-last=Alabbas|editor-first2=Joshua|editor-last2=Bell|author=Web Applications Working Group|publisher=Web Applications Working Group|website=W3C|version=
| organization = {{Plainlist|
* {{abbr|[[World Wide Web Consortium|W3C]]|World Wide Web Consortium}}
Line 53:
The '''Indexed Database API''' (commonly referred to as '''IndexedDB''') is a [[JavaScript]] [[application programming interface]] (API) provided by [[web browser]]s for managing a [[NoSQL]] [[database]] of objects. It is a standard maintained by the [[World Wide Web Consortium]] (W3C).<ref name="standard" />
As an alternative to the [[Web storage]] standard, IndexedDB can provide more storage capacity. Web storage has [[Web storage#Storage size|fixed limits]] per [[website]], but IndexedDB limits are "usually quite large, if they exist at all".<ref>{{cite web |title=Working with IndexedDB |url=https://developers.google.com/web/ilt/pwa/working-with-indexeddb |publisher=Google Inc. |access-date=19 January 2019}}</ref>
[[Use case]]s for IndexedDB include caching [[web application]] data for [[offline]] availability.<ref>{{cite web |title=Using IndexedDB |url=https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB |website=MDN |publisher=Mozilla |access-date=19 January 2019}}</ref> Some browser modules, such as [[Web development tools|devtools]] or [[browser extension|extensions]], may also use it for storage.
Line 72:
|editor-first=Ali|editor-last=Alabbas
|editor-first2=Joshua|editor-last2=Bell
}}</ref> ''IndexedDB 3.0''
==Performance==
Because IndexedDB is running inside of the security sandbox of a browser, all operations have to go through various security layers which decreases the performance of IndexedDB. With IndexedDB 2.0
==References==
Line 84 ⟶ 83:
==External links==
* [https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API IndexedDB API] on [[MDN Web Docs]]
* [https://nolanlawson.github.io/database-comparison/ Browser database comparison]
{{Web browsers|fsp}}
|