Add jpeg files to Cache-Control settting

This commit is contained in:
Helen Chong 2024-08-04 17:58:06 +08:00
parent 7f23cc5ac8
commit 6bb5f682f3
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
---
ErrorDocument 404 /404.html
<FilesMatch "\.(ico|svg|avif|webp|jpg|png|gif|woff2)$">
<FilesMatch "\.(ico|svg|avif|webp|jpg|jpeg|png|gif|woff2)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>
<FilesMatch "\.(css|js)$">