Add cache-busting query strings and no-cache for HTML files
Build and Push Docker Image / build-and-push (push) Successful in 39s
Build and Push Docker Image / build-and-push (push) Successful in 39s
Proxy was caching old admin.js; ?v=3 query string forces a fresh fetch. Also extend no-cache header to .html files so future deploys propagate immediately. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
3eb6322427
commit
3d1e887c19
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -793,6 +793,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="admin.js"></script>
|
||||
<script src="admin.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
+2
-2
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Homeschool</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<link rel="stylesheet" href="styles.css?v=3">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -366,6 +366,6 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script src="app.js"></script>
|
||||
<script src="app.js?v=3"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user