I'm trying to store a playlist of songs in my application. What's the most flexible and efficient way to do this? Each song has a few fields, like: song_name, song_id, song_artist etc. The playlist is sent to the client as JSON.
A:
Dustin Dias has a nice cache script that stores the values as json either as an simple javascript object variable or in window.localStorage:
eskimoblood
2010-07-21 11:15:35