I would store in localStorage an array of keys so you know which ones you can purge later