DEV Community

Discussion on: My in-browser search with IndexDB and WebWorkers

Collapse
 
manishfoodtechs profile image
manish srivastava

Hey Perry nice article and solution. Indexdb is good but its storage capacity changes with browser. Also, there is probability that client clears the indexdb data while playing with browser settings.
Anyway, in my few articles , I advocated that nothing is faster than indexdb storage.

Collapse
 
talolard profile image
Tal Perry

Hi Manish,
Thanks for the comment and I'll definitely check out your articles.
I think you hit the nail on the head. Handling data limits and evictions elegantly is a big challenge here both for engineering and UX.

Collapse
 
manishfoodtechs profile image
manish srivastava

Haha... But there is a way out. Syncing indexdb with database on server. There are few libraries in GitHub (MIT) to do this. Anyway, will wait to give try to your open-source project