aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index ce84f0698c7..60908984185 100644
--- a/.htaccess
+++ b/.htaccess
@@ -47,6 +47,10 @@
Header set Cache-Control "max-age=15778463"
</FilesMatch>
+ <FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)(\?v=.*)?$">
+ Header set Cache-Control "max-age=15778463, immutable"
+ </FilesMatch>
+
# Let browsers cache WOFF files for a week
<FilesMatch "\.woff2?$">
Header set Cache-Control "max-age=604800"