From 3b95f8d0a4db185eb1ecfd2f35367eacd57ec495 Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Fri, 18 Nov 2022 22:14:52 -0300 Subject: [PATCH 1/3] how can indexeddb be offline --- 6-data-storage/03-indexeddb/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6-data-storage/03-indexeddb/article.md b/6-data-storage/03-indexeddb/article.md index 70493e9e1d..ee30d30c05 100644 --- a/6-data-storage/03-indexeddb/article.md +++ b/6-data-storage/03-indexeddb/article.md @@ -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 is intended for offline apps, to be combined with ServiceWorkers and other technologies. +That power is usually excessive for traditional client-server apps. The main bennefit of IndexedDB is performance, as all the db operations are executed locally without worring about network speed, and intended to be combined with ServiceWorkers (to deal in the backround with cloud updates for example) and other technologies. The native interface to IndexedDB, described in the specification , is event-based. @@ -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 offline apps, yet simple to use. +IndexedDB can be thought of as a "localStorage on steroids". It's a simple key-value database, powerful enough for offline use, 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. From 68a6fad2cdd7f88ca7929c5711a7ffedcd94f79e Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Fri, 18 Nov 2022 22:30:59 -0300 Subject: [PATCH 2/3] Update article.md --- 6-data-storage/03-indexeddb/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6-data-storage/03-indexeddb/article.md b/6-data-storage/03-indexeddb/article.md index ee30d30c05..e0de345e2d 100644 --- a/6-data-storage/03-indexeddb/article.md +++ b/6-data-storage/03-indexeddb/article.md @@ -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. The main bennefit of IndexedDB is performance, as all the db operations are executed locally without worring about network speed, and intended to be combined with ServiceWorkers (to deal in the backround with cloud updates for example) and other technologies. +That power is usually excessive for traditional client-server apps. The main benefit of IndexedDB is performance, as all the db operations are executed locally without worrying about network speed, and are intended to be combined with ServiceWorkers (to deal in the background with cloud updates for example) and other technologies. The native interface to IndexedDB, described in the specification , is event-based. @@ -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 offline use, yet simple to use. +IndexedDB can be thought of as a "localStorage on steroids". It's a simple key-value database, powerful enough for offline work, 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. From 98b8ecc683865a2d074a0bd15d045c349a191145 Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Fri, 18 Nov 2022 22:35:48 -0300 Subject: [PATCH 3/3] Update article.md --- 6-data-storage/03-indexeddb/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-data-storage/03-indexeddb/article.md b/6-data-storage/03-indexeddb/article.md index e0de345e2d..3faabcedcd 100644 --- a/6-data-storage/03-indexeddb/article.md +++ b/6-data-storage/03-indexeddb/article.md @@ -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. The main benefit of IndexedDB is performance, as all the db operations are executed locally without worrying about network speed, and are intended to be combined with ServiceWorkers (to deal in the background with cloud updates for example) and other technologies. +That power is usually excessive for traditional client-server apps. The main benefit of IndexedDB is performance, as all the db operations are executed locally without worrying about network speed, and they are intended to 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 , is event-based.