3 ms·
We sped up Notion in the browser with WASM SQLite
- sgbeal 2y agoThis part: > ... the requirement of cross-origin isolation, which would have prevented us from rolling out to any browser beyond Chrome and Edge. Is incorrect. The primary development browser for the two VFS APIs they're writing about is Firefox. (Citation: that development all happens on my computer.)
- carlo-notion 2y agoBlog post author here -- I wasn't totally clear, but what I meant was that we didn't have the capacity to do the work to make Notion fully cross origin isolated (which would have indeed worked on all the major browsers). That meant we could only roll it out on the browsers that provided this temporary workaround for it.
- sgbeal 2y agoAha, that makes sense. BTW, i would like to reach out to you to discuss, if you like, your corruption cases and pain points so that we can improve upon them. i don't see a way to get in direct touch with you, but if you are up for such a discussion, please email a contact address to stephan at sqlite org.
- camgunz 2y agoGreat write up; but honestly all I could think is what a blunder it was when Mozilla vetoed shipping SQLite.
- Fudgel 2y agoPretty cool. First time I'd heard about the web locks api. https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_A...