aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-07-15 18:06:13 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-07-15 18:06:13 +0200
commit52e243f4d81d997fa3493f608c83c75fa36d8f5f (patch)
treeb8b8c9e87d58aa81f36ae8dd4d6f41e1cd85cdab /.htaccess
parent8c571dda47e8fcbaa85513b90c80bc101375ca0f (diff)
downloadnextcloud-server-52e243f4d81d997fa3493f608c83c75fa36d8f5f.tar.gz
nextcloud-server-52e243f4d81d997fa3493f608c83c75fa36d8f5f.zip
fix(htaccess): Serve images as static assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index f6474c8dbca..76573880c0b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -40,7 +40,7 @@
</IfModule>
# Add cache control for static resources
- <FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
+ <FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|webp|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>