File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,3 +12,11 @@ RewriteRule ^ - [L]
1212# Append .html for extensionless paths (docs)
1313RewriteCond %{REQUEST_FILENAME}.html -f
1414RewriteRule ^(.+)$ $1.html [L]
15+
16+ <FilesMatch "\.(css|js)$" >
17+ Header set Cache-Control "no-cache, must-revalidate"
18+ </FilesMatch >
19+
20+ <FilesMatch "\.(png|jpg|jpeg|gif|svg|ico|webp)$" >
21+ Header set Cache-Control "no-cache, must-revalidate"
22+ </FilesMatch >
Original file line number Diff line number Diff line change 6464 < link rel ="preconnect " href ="https://fonts.googleapis.com ">
6565 < link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
6666 < link href ="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700&family=Source+Sans+3:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap " rel ="stylesheet ">
67- < link rel ="stylesheet " href ="css/style.css?v=1 ">
67+ < link rel ="stylesheet " href ="css/style.css?v=__VERSION__ ">
6868 < link rel ="icon " href ="assets/favicon.svg " type ="image/svg+xml ">
6969 < link rel ="icon " href ="assets/favicon.png " type ="image/png " sizes ="32x32 ">
7070 < link rel ="apple-touch-icon " href ="assets/favicon.png ">
@@ -390,6 +390,6 @@ <h3>Contribute</h3>
390390 </ div >
391391 </ div >
392392
393- < script src ="js/main.js?v=1 "> </ script >
393+ < script src ="js/main.js?v=__VERSION__ "> </ script >
394394</ body >
395395</ html >
You can’t perform that action at this time.
0 commit comments