Set cache to false as default for script or json requests. Fixes 7578.
[jquery.git] / src / ajax.js
index d10b931..e82a082 100644 (file)
@@ -261,7 +261,7 @@ jQuery.extend({
                        };
                }
 
-               if ( s.dataType === "script" && s.cache === null ) {
+               if ( s.dataType === "script" && s.cache === undefined ) {
                        s.cache = false;
                }