From 43ab7c1d22bae3fff3bf74e99581339b3949e718 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Sat, 20 Sep 2014 11:42:12 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1f9fbe..5f93076 100644 --- a/README.md +++ b/README.md @@ -594,7 +594,7 @@ It has been tested and is compatible with Chrome, Safari, Firefox, IE 10, IE 9. If you fork and modify nedb, you can build the browser version from the sources, the build script is `browser-version/build.js`. -As of v0.11, NeDB is also persistent on the browser. To use this, simply create the collection with the `filename` option which will be the name of the `localStorage` variable storing data. Persistence should work on all browsers where NeDB works. +As of v0.11, NeDB is also persistent on the browser. To use this, simply create the collection with the `filename` option which will be the name of the `localStorage` variable storing data. Persistence should work on all browsers where NeDB works. Also, keep in mind that `localStorage` has size constraints, so it's probably a good idea to set recurring compaction every 2-5 minutes to save on space if your client app needs a lot of updates and deletes. See database compaction for more details on the append-only format used by NeDB. **Browser persistence is still young! It has been tested on most major browsers but please report any bugs you find**