I need to get a large amount of data back from a server via ajax. It will take a bit of time to get to the browser. The second time the user goes back to same web page I don’t want them to have to download the data via ajax again. Is there anyway Javascript can write the json data to the browsers cache or filesystem reliably?
Cheers
Rich
As Tim says, localStorage is a good option, however not all browsers support it. As a fallback, you could store the JSON text in the session.