Browse Source

Cache-busting query string for files loaded into DB

FunFetched 7 years ago
parent
commit
6baf421bc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Tools/babylon.database.ts

+ 1 - 1
src/Tools/babylon.database.ts

@@ -570,7 +570,7 @@ module BABYLON {
                 // Create XHR
                 var xhr = new XMLHttpRequest();
                 var fileData: any;
-                xhr.open("GET", url, true);
+                xhr.open("GET", url + "?" + Date.now(), true);
 
                 if (useArrayBuffer) {
                     xhr.responseType = "arraybuffer";