Create .htaccess file with Cache-Control
This commit is contained in:
parent
c3beeb0df8
commit
7e0207432b
8
src/.htaccess.njk
Normal file
8
src/.htaccess.njk
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
permalink: .htaccess
|
||||||
|
eleventyExcludeFromCollections: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$">
|
||||||
|
Header set Cache-Control "max-age=31536000, public"
|
||||||
|
</FilesMatch>
|
Loading…
x
Reference in New Issue
Block a user