Cache JSON response in HTML5 storage