Sfoglia il codice sorgente

dojoConfig: use cacheBust

Andrew Dolgov 7 anni fa
parent
commit
6f84bf7b0a
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      index.php
  2. 1 0
      prefs.php

+ 1 - 0
index.php

@@ -91,6 +91,7 @@
 	<script>
 		dojoConfig = {
 			async: true,
+			cacheBust: new Date(),
 			packages: [
 				{ name: "fox", location: "../../js" },
 			]

+ 1 - 0
prefs.php

@@ -57,6 +57,7 @@
 	<script>
 		dojoConfig = {
 			async: true,
+			cacheBust: new Date(),
 			packages: [
 				{ name: "lib", location: "../" },
 				{ name: "fox", location: "../../js" },