introducing cache buster to plugin CSS and loaded scripts

v1.18.x
Julian Lam 11 years ago
parent cccaf642a6
commit 133188f14c

@ -9,14 +9,14 @@
<!-- IF bootswatchCSS --><link href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS --> <!-- IF bootswatchCSS --><link href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS -->
{link_tags} {link_tags}
<!-- BEGIN pluginCSS --> <!-- BEGIN pluginCSS -->
<link rel="stylesheet" href="{pluginCSS.path}"> <link rel="stylesheet" href="{pluginCSS.path}?{cache-buster}">
<!-- END pluginCSS --> <!-- END pluginCSS -->
<script> <script>
var RELATIVE_PATH = "{relative_path}"; var RELATIVE_PATH = "{relative_path}";
</script> </script>
<script src="{relative_path}/socket.io/socket.io.js"></script> <script src="{relative_path}/socket.io/socket.io.js"></script>
<!-- BEGIN clientScripts --> <!-- BEGIN clientScripts -->
<script src="{relative_path}/{clientScripts.script}"></script> <script src="{relative_path}/{clientScripts.script}?{cache-buster}"></script>
<!-- END clientScripts --> <!-- END clientScripts -->
<script> <script>
require.config({ require.config({

Loading…
Cancel
Save