From 8259efe7342870c79195ab59ac2368bf9961bc5a Mon Sep 17 00:00:00 2001 From: Anton M Date: Fri, 19 Nov 2010 23:14:24 +0100 Subject: [PATCH] Set cache to false as default for script or json requests. Fixes 7578. --- src/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax.js b/src/ajax.js index d10b93112..e82a08299 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -261,7 +261,7 @@ jQuery.extend({ }; } - if ( s.dataType === "script" && s.cache === null ) { + if ( s.dataType === "script" && s.cache === undefined ) { s.cache = false; }