Add Webp files to cache control policy
This commit is contained in:
parent
599cf24b3c
commit
3b58d1e6aa
@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
|
||||
---
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|woff2)$">
|
||||
<FilesMatch "\.(ico|svg|avif|webp|jpg|png|gif|woff2)$">
|
||||
Header set Cache-Control "max-age=31536000, public"
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.(css|js)$">
|
||||
|
Loading…
x
Reference in New Issue
Block a user