It’s no secret that many of us that use javascript regularly love jQuery because it handles a lot of the cross browser issues and makes our lives so much easier.
The .ajax function makes use of caching by default, but we can override this by creating a function called .ajaxSetup and adding cache: false in the function.
$.ajaxSetup ({
cache: false
});
You can of course take advantage of this and create even more verbose .ajax calls. 😉




