Implement cache busting (#337)

This commit is contained in:
Francis Lavoie 2023-08-11 12:03:17 -04:00 committed by GitHub
parent 254e415a61
commit c66f785fcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 85 additions and 56 deletions

View file

@ -1,5 +1,8 @@
{{include "/includes/head.html"}}
<link rel="stylesheet" href="/resources/css/account/common.css">
<script src="/resources/js/jquery-3.4.1.min.js"></script>
<script src="/resources/js/sweetalert.min.js"></script>
<script src="/resources/js/account/common.js"></script>
{{define "account-head"}}
{{import "/includes/head.html"}}
{{template "head"}}
<link rel="stylesheet" href="/resources/css/account/common.css{{template "cacheBust"}}">
<script src="/resources/js/jquery-3.4.1.min.js"></script>
<script src="/resources/js/sweetalert.min.js"></script>
<script src="/resources/js/account/common.js{{template "cacheBust"}}"></script>
{{end}}