Compare commits

...

2 Commits

Author SHA1 Message Date
helenclx a29ad44e7c Build: (8709fba) Add Webp files to cache control policy 2024-07-30 16:32:21 +00:00
helenclx b1321b6b7d Build: (ab6fe71) Use no-cache policy forCSS and JavaScript files 2024-07-30 16:29:39 +00:00
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|webp|jpg|png|gif|woff2)$">
Header set Cache-Control "max-age=31536000, public" Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
<FilesMatch "\.(css|js)$">
Header set Cache-Control "no-cache, public"
</FilesMatch> </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:32:19Z</updated>
<id>https://leilukin.com/</id> <id>https://leilukin.com/</id>
<author> <author>
<name>Leilukin</name> <name>Leilukin</name>