mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 20:02:41 +00:00
Add Webp files to cache control policy
This commit is contained in:
parent
ab6fe71575
commit
8709fbadb9
@ -4,7 +4,7 @@ eleventyExcludeFromCollections: true
|
|||||||
---
|
---
|
||||||
ErrorDocument 404 /404.html
|
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"
|
Header set Cache-Control "max-age=31536000, public"
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
<FilesMatch "\.(css|js)$">
|
<FilesMatch "\.(css|js)$">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user