Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

how can indexeddb be offline#3270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
joaquinelio wants to merge3 commits intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromjoaquinelio:patch-17
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions6-data-storage/03-indexeddb/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,7 +12,7 @@ IndexedDB is a database that is built into a browser, much more powerful than `l
- Supports key range queries, indexes.
- Can store much bigger volumes of data than `localStorage`.

That power is usually excessive for traditional client-server apps. IndexedDB isintended for offline apps,to be combined with ServiceWorkers and other technologies.
That power is usually excessive for traditional client-server apps.The main benefit ofIndexedDB isperformance, as all the db operations are executed locally without worrying about network speed, and they are intendedto be combined with ServiceWorkers (to deal in the background with the cloud update for example) and other technologies.

The native interface to IndexedDB, described in the specification <https://www.w3.org/TR/IndexedDB>, is event-based.

Expand DownExpand Up@@ -819,7 +819,7 @@ let result = await promise; // if still needed

## Summary

IndexedDB can be thought of as a "localStorage on steroids". It's a simple key-value database, powerful enough for offlineapps, yet simple to use.
IndexedDB can be thought of as a "localStorage on steroids". It's a simple key-value database, powerful enough for offlinework, yet simple to use.

The best manual is the specification, [the current one](https://www.w3.org/TR/IndexedDB-2/) is 2.0, but few methods from [3.0](https://w3c.github.io/IndexedDB/) (it's not much different) are partially supported.

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp