@Alamantus Depends of the use-case.
If you want to persist it until the end of time => store that server side, within the user data
If that is just for practicality and across services => IndexedDB seems like the right choice.
IMO, this is just state so I would opt for option 2