I would suggest using localstorage if you are creating a front end plugin that you do not want to require a backend for. Otherwise, backend DB. I pretty much support @drhayes on this one