but there is also a weird lag thing that I bet is coming from indexeddb. I'll try to solve it with https://github.com/pouchdb-community/worker-pouch
Discussion
not worker pouch because that didn't work, but a manual webworker implementation is ready and deployed.