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

@ -2,11 +2,12 @@
<html>
<head>
<title>Download Caddy</title>
{{include "/includes/head.html"}}
<link rel="stylesheet" href="/resources/css/download.css">
{{import "/includes/head.html"}}
{{template "head"}}
<link rel="stylesheet" href="/resources/css/download.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/download.js"></script>
<script src="/resources/js/download.js{{template "cacheBust"}}"></script>
</head>
<body>
<div class="wrapper">