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.
The post Smartjax.js : jQuery plugin to make your Ajax Calls Smarter appeared first on jQuery Rain.
by Admin via jQuery Rain
No comments:
Post a Comment