You can also probably keep a cache of client cards like you do with server cards and not have to read/write from localStorage every time you need to get or set any data. Just sync to localStorage when you have new data, read from it on load, and otherwise do all reads from memory.