Add cache busting for atlas assets
This commit is contained in:
@@ -762,6 +762,7 @@ class PaperBrowserHandler(SimpleHTTPRequestHandler):
|
||||
return
|
||||
self.send_response(HTTPStatus.OK)
|
||||
self.send_header("content-type", content_type)
|
||||
self.send_header("cache-control", "no-store, max-age=0")
|
||||
self.send_header("content-length", str(len(data)))
|
||||
self.end_headers()
|
||||
self.wfile.write(data)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Agent Knowledge Atlas</title>
|
||||
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='12' fill='%23cfe8e3'/%3E%3Ctext x='32' y='40' text-anchor='middle' font-size='24' font-family='Arial' font-weight='700' fill='%23064c47'%3EAK%3C/text%3E%3C/svg%3E" />
|
||||
<link rel="stylesheet" href="/static/styles.css" />
|
||||
<link rel="stylesheet" href="/static/styles.css?v=atlas-20260708-2" />
|
||||
</head>
|
||||
<body>
|
||||
<main class="atlas-app">
|
||||
@@ -78,6 +78,6 @@
|
||||
</footer>
|
||||
</main>
|
||||
|
||||
<script src="/static/app.js"></script>
|
||||
<script src="/static/app.js?v=atlas-20260708-2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user