Skip to content

Commit

Permalink
updating headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dapinitial committed Dec 15, 2024
1 parent fafe68e commit 2d5a8e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<title>Audio Player</title>
<link rel="icon" href="images/svg/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="stylesheet" href="global.css" />
Expand Down
5 changes: 5 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ export default defineConfig({
generateScopedName: '[name]__[local]___[hash:base64:5]', // Scoped naming
},
},
server: {
headers: {
'Cache-Control': 'no-store, no-cache, max-age=0, must-revalidate, proxy-revalidate',
},
},
});

0 comments on commit 2d5a8e0

Please sign in to comment.