Sfoglia il codice sorgente

Tech: added cache busting for requirejs fetches, will only affect config.js for optimized builds, should solve user issues where browsers cache config.js which causes initial confusing setup/config issues.

Torkel Ödegaard 11 anni fa
parent
commit
3cd33b6ffc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/app/components/require.config.js

+ 1 - 0
src/app/components/require.config.js

@@ -3,6 +3,7 @@
  */
  */
 require.config({
 require.config({
   baseUrl: 'app',
   baseUrl: 'app',
+  urlArgs: 'bust=' + (new Date().getTime()),
 
 
   paths: {
   paths: {
     config:                   ['../config', '../config.sample'],
     config:                   ['../config', '../config.sample'],