Skip to content

Node.js based forum software built for the modern web

introducing cache buster to plugin CSS and loaded scripts

Julian Lam133188f14ce0
diff --git a/public/templates/header.tpl b/public/templates/header.tpl
index 8ad089b46a..dbd0f96027 100644
--- a/public/templates/header.tpl
+++ b/public/templates/header.tpl
@@ -9,14 +9,14 @@
<!-- IF bootswatchCSS --><link href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS -->
{link_tags}
<!-- BEGIN pluginCSS -->
- <link rel="stylesheet" href="{pluginCSS.path}">
+ <link rel="stylesheet" href="{pluginCSS.path}?{cache-buster}">
<!-- END pluginCSS -->
<script>
var RELATIVE_PATH = "{relative_path}";
</script>
<script src="{relative_path}/socket.io/socket.io.js"></script>
<!-- BEGIN clientScripts -->
- <script src="{relative_path}/{clientScripts.script}"></script>
+ <script src="{relative_path}/{clientScripts.script}?{cache-buster}"></script>
<!-- END clientScripts -->
<script>
require.config({