mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 03:30:52 +00:00
Create .htaccess file with Cache-Control
This commit is contained in:
parent
7d230eb196
commit
a05f357e4b
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