Store ajax responses using the browser's local storage, or any Storage-interface compatible object.
ajaxlocalstoragecaching
https://github.com/SaneMethod/jquery-ajax-localstorage-cache