Using $.ajax({..}) I receive the contents of an XML file from the server. So I don’t have to request this file every time the page loads, I would like, if possible, to cache this content locally, save it in a file on the disk. But cache it in such a way that it will be available even the next day, after a restart. The XML file content updates daily so no need to resend the file so often.
Is it possible? If so, how can i achieve this? Could you offer a link or some sample code please? I’ve searched for something good which I can understand, but i was not successful.
you need this
http://brian.io/lawnchair/