Instead of using
$.ajax(), you’ve to use
Smartjax.ajax() and that’s it. Now the call response will be cached in your browser. The next time you make the same call, it will not ping the server. The response will be returned from browser storage. Though you can explicitly make a force call, can clear saved data and many more.