segunda-feira, 27 de agosto de 2012

Cache jQuery

AJAX cache problem in IE, AJAX cache issue IE

Disable Cache in jQuery

Best way to avoid caching is by disabling it through jQuery setup. Following code snippet does this:

$.ajaxSetup ({
// Disable caching of AJAX responses
cache: false
});
Try to use this method of disabling cache in case you using different Ajax loading techniques such as.load(), .getJSON() etc.

Nenhum comentário:

Postar um comentário