]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cache images on browser 27863/head
authoracsfer <carlos@reendex.com>
Tue, 6 Jul 2021 21:56:05 +0000 (23:56 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Wed, 7 Jul 2021 17:16:25 +0000 (17:16 +0000)
Fix #26851

.htaccess

index 87280cc9e01f7cf87430748ea3c3656f539054aa..f5df10cd2e434f0a22da0fddb9dd76fea173e00f 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -39,7 +39,7 @@
   </IfModule>
 
   # Add cache control for static resources
-  <FilesMatch "\.(css|js|svg|gif)$">
+  <FilesMatch "\.(css|js|svg|gif|png|jpg|ico)$">
     Header set Cache-Control "max-age=15778463"
   </FilesMatch>