Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

IndexedDB

From Wikipedia, the free encyclopedia
JavaScript application programming interface
IndexedDB
Indexed Database API
AbbreviationIndexedDB
Native name
Indexed Database API
StatusFirst Public Working Draft
Latest version3.0
11 March 2021[1]
Preview versionEditor's Draft
11 March 2021[2]
Organization
CommitteeWeb Applications Working Group
Editors
Previous editors
    • Nikunj Mehta
    • Jonas Sicking
    • Eliot Graff
    • Andrei Popescu
    • Jeremy Orlow
Base standards
Related standards
DomainNoSQLdatabases
Websitewww.w3.org/TR/IndexedDB/

TheIndexed Database API (commonly referred to asIndexedDB) is aJavaScriptapplication programming interface (API) provided byweb browsers for managing aNoSQLdatabase of objects. It is a standard maintained by theWorld Wide Web Consortium (W3C).[1]

As an alternative to theWeb storage standard, IndexedDB can provide more storage capacity. Web storage hasfixed limits perwebsite, but IndexedDB limits are "usually quite large, if they exist at all".[5]

Use cases for IndexedDB include cachingweb application data foroffline availability.[6] Some browser modules, such asdevtools orextensions, may also use it for storage.

History

[edit]

Support for IndexedDB was added toFirefox version 4[7] (March 2011),Google Chrome version 11,[8]Internet Explorer version 10,[9]Safari version 8,[10] andMicrosoft Edge version 12.[11]

Web SQL Database was a prior API developed byApple.[12] But Firefox refused to add support for it and argued against it becoming a standard because it would codify the quirks ofSQLite.[13][14] It was thusdeprecated in favor of IndexedDB.[15]

IndexedDB 1.0 became aW3C Recommendation on January 8, 2015.[16]IndexedDB 2.0 became a W3C Recommendation on January 30, 2018.[17][3]IndexedDB 3.0 was released as aFirst Public Working Draft on 11 March 2021 and remains as a Working Draft as of 3 December 2024[update].[18]

Performance

[edit]

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[17] the getAll() method was added which allows to improve performance on bulk read operations.

References

[edit]
  1. ^abcdWeb Applications Working Group (2021-03-11). Alabbas, Ali; Bell, Joshua (eds.)."Indexed Database API 3.0".W3C. W3C First Public Working Draft. Web Applications Working Group. Retrieved2021-05-15.
  2. ^Web Applications Working Group (2021-03-11). Alabbas, Ali; Bell, Joshua (eds.)."Indexed Database API 3.0".W3C. Editor's Draft. Web Applications Working Group. Retrieved2021-05-15.
  3. ^abWeb Applications Working Group (2018-01-30). Alabbas, Ali; Bell, Joshua (eds.)."Indexed Database API 2.0".W3C. W3C Recommendation. Web Applications Working Group. Retrieved2021-05-16.
  4. ^"Indexed Database API". 2015-01-08. Retrieved2022-04-21.
  5. ^"Working with IndexedDB". Google Inc. Retrieved19 January 2019.
  6. ^"Using IndexedDB".MDN. Mozilla. Retrieved19 January 2019.
  7. ^"IndexedDB - MDC Doc Center". Developer.mozilla.org. Archived fromthe original on 2012-05-26. Retrieved2011-02-18.
  8. ^"IndexedDB - Chrome Platform Status".IndexedDB - Chrome Platform Status. The Chromium Projects. 2012-05-21. Retrieved2021-05-15.
  9. ^IndexedDB, MSDN, 2012-03-14, retrieved2012-05-24
  10. ^"OS X Yosemite v10.10 § App Features".Apple Developers. Apple. 2017-07-09. Retrieved2021-05-15.
  11. ^"IndexedDB".Can I use... n.d. Retrieved2021-05-16.
  12. ^Shankland, Stephen (2010-03-12)."Consensus emerges for key Web app standard | Deep Tech - CNET News". News.cnet.com. Retrieved2011-02-18.
  13. ^O'Callahan, Robert (2010-06-04)."Well, I'm Back: Not Implementing Features Is Hard". Weblogs.mozillazine.org. Archived fromthe original on 2020-11-09. Retrieved2011-02-18.
  14. ^Ranganathan, Arun (2010-06-01)."Beyond HTML5: Database APIs and the Road to IndexedDB – Mozilla Hacks - the Web developer blog".Mozilla Hacks – the Web developer blog. Retrieved2021-05-21.
  15. ^"html5 - Why is Web SQL database deprecated?".Software Engineering Stack Exchange.
  16. ^Web Applications Working Group (2015-01-08). Mehta, Nikunj; Sicking, Jonas; Graff, Eliot; Popescu, Andrei; Orlow, Jeremy; Bell, Joshua (eds.)."Indexed Database API".W3C. W3C Recommendation. Web Applications Working Group. Retrieved2021-05-16.
  17. ^abW3C (2018-01-30)."Indexed Database API 2.0 is now a W3C Recommendation | W3C News".W3C News. Retrieved2021-05-16.{{cite web}}: CS1 maint: numeric names: authors list (link)
  18. ^"Indexed Database API 3.0 publication history".W3C. 2024-11-07. Archived fromthe original on 2024-12-03. Retrieved2024-12-03.

External links

[edit]
Features, standards & protocols
Features
Web standards
Protocols
Active
Blink-based
Proprietary
FOSS
Gecko-based
WebKit-based
Multi-engine
Other
Discontinued
Blink-based
Gecko-based
MSHTML-based
WebKit-based
Other
Protocols
Server APIs
Apache modules
Topics
Browser APIs
Web APIs
WHATWG
W3C
Khronos
Others
Topics
Related topics
Products,
standards
Recommendations
Notes
Working drafts
Guidelines
Initiative
Deprecated
Obsoleted
Groups,
organizations
Elected
Working
Community, business
Closed
Software
Browsers
Conferences
Retrieved from "https://en.wikipedia.org/w/index.php?title=IndexedDB&oldid=1322172074"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp