localStorage
performance
DOM An experiment in seeing what is faster - multiple items with JSON contents or a single item with a JSON array of items with their contents.
See the online demo.
Results
Using localStorage
as a KV store is much faster than using it as a single blob
store.