diff --git a/entries/jQuery.getScript.xml b/entries/jQuery.getScript.xml index 0e306da2..da850c24 100644 --- a/entries/jQuery.getScript.xml +++ b/entries/jQuery.getScript.xml @@ -52,7 +52,7 @@ $( "div.log" ).ajaxError(function(e, jqxhr, settings, exception) { });
Be default, $.getScript()
sets the cache setting to false
. This appends a timestamped query parameter to the request URL to ensure that the browser downloads the script each time it is requested. You can override this feature by setting the cache property globally using $.ajaxSetup()
:
By default, $.getScript()
sets the cache setting to false
. This appends a timestamped query parameter to the request URL to ensure that the browser downloads the script each time it is requested. You can override this feature by setting the cache property globally using $.ajaxSetup()
:
$.ajaxSetup({
cache: true