mirror of
https://github.com/Mibew/mibew.git
synced 2025-06-03 07:36:16 +03:00
Merge d6947d4a97
into a4ce7ffea7
This commit is contained in:
commit
9b4e4d185e
@ -51,3 +51,16 @@ Options +FollowSymLinks
|
||||
<FilesMatch "\.(yml|po|ini|handlebars|keep)$">
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
# Turn on Expires
|
||||
ExpiresActive On
|
||||
ExpiresDefault "access plus 2 days"
|
||||
|
||||
# Speed up caching
|
||||
FileETag MTime Size
|
||||
|
||||
# Set up 2 days caching and specific cache-control for files
|
||||
<FilesMatch "\.(.*)\.(js|css|jpg|png|gif|svg)$">
|
||||
ExpiresDefault A172800
|
||||
Header append Cache-Control "proxy-revalidate"
|
||||
</FilesMatch>
|
||||
|
Loading…
Reference in New Issue
Block a user