Hey Add-on devs!
Welcome to the first of (hopefully) many threads in a new fortnightly discussion series I’m kicking off here today. The idea is simple: get new and experienced developers alike to share their thoughts on a topic related to browser extension development.
Over the weekend I was tinkering on a side project extension and I found trying to decide which API I should use to store my extension’s data. When building cross-browser extensions, I usually reach for either the local or sync areas in browser.storage, but in my specific use case (logging) indexedDB had some advantages related to indexing and data retrieval performance.
That topic got me thinking about the pros and cons of these and several other options like Web Storage, SQLite via Wasm, a custom web server, etc. That in turn got me wondering how you think about which technologies to use and in what situations to use them.
So, let’s kick this off with a few questions to help guide you. Feel free to take or leave 'em.
- How do you store data in your extension?
- What considerations motivate that choice?
- What libraries or helpers do you use, if any?
- How do you feel about the choices available to you?
I’m curious to hear what you all have to say ![]()
EDIT (2025-09-08): Updated to make these posts fortnightly (every other week) instead of weekly.
