Explorar o código

HUE-347. Ensure CSS files are not cached

Shawn Van Ittersum %!s(int64=15) %!d(string=hai) anos
pai
achega
23421dad9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/static/js/Source/CCS/CCS.Desktop.js

+ 1 - 1
desktop/core/static/js/Source/CCS/CCS.Desktop.js

@@ -138,7 +138,7 @@ CCS.Desktop = {
 						rel: 'stylesheet',
 						media: 'screen',
 						type: 'text/css',
-						href: url
+						href: new URI(url).setData('noCache', new Date().toString())
 					}).inject(document.head);
 				}
 			};