mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-02 20:30:51 +00:00
Use no-cache policy forCSS and JavaScript files
This commit is contained in:
parent
bc4efca419
commit
ab6fe71575
@ -4,6 +4,9 @@ eleventyExcludeFromCollections: true
|
||||
---
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$">
|
||||
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|woff2)$">
|
||||
Header set Cache-Control "max-age=31536000, public"
|
||||
</FilesMatch>
|
||||
<FilesMatch "\.(css|js)$">
|
||||
Header set Cache-Control "no-cache, public"
|
||||
</FilesMatch>
|
Loading…
x
Reference in New Issue
Block a user