redis inspired javascript cache layer using HTML5 DOM storage