Build: (ab6fe71) Use no-cache policy forCSS and JavaScript files

This commit is contained in:
helenclx 2024-07-30 16:29:39 +00:00
parent cc875cd61c
commit b1321b6b7d
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
ErrorDocument 404 /404.html ErrorDocument 404 /404.html
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$"> <FilesMatch "\.(ico|svg|avif|jpg|png|gif|woff2)$">
Header set Cache-Control "max-age=31536000, public" Header set Cache-Control "max-age=31536000, public"
</FilesMatch> </FilesMatch>
<FilesMatch "\.(css|js)$">
Header set Cache-Control "no-cache, public"
</FilesMatch>

View File

@ -4,7 +4,7 @@
<subtitle>Leilukin&#39;s personal website.</subtitle> <subtitle>Leilukin&#39;s personal website.</subtitle>
<link href="https://leilukin.com/feed.xml" rel="self"/> <link href="https://leilukin.com/feed.xml" rel="self"/>
<link href="https://leilukin.com"/> <link href="https://leilukin.com"/>
<updated>2024-07-30T16:12:42Z</updated> <updated>2024-07-30T16:29:36Z</updated>
<id>https://leilukin.com/</id> <id>https://leilukin.com/</id>
<author> <author>
<name>Leilukin</name> <name>Leilukin</name>