diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-08 18:41:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-08 18:41:33 +0200 |
commit | 679185028fea894fd4fe2183859610aa32228ae4 (patch) | |
tree | 5a8e99c94942f6f33a65cb08d4eee60ae9afcc3e | |
parent | 97c8232b9f87146e0d7cf9da8696979489329eca (diff) | |
parent | 35743c187d0ca0411ec24d564701b3da4ccd3981 (diff) | |
download | nextcloud-server-679185028fea894fd4fe2183859610aa32228ae4.tar.gz nextcloud-server-679185028fea894fd4fe2183859610aa32228ae4.zip |
Merge pull request #769 from nextcloud/also-cache-fonts-svg-and-gif
Also cache WOFF, SVG and GIF
-rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess index bd9f5af3f70..5b864643565 100644 --- a/.htaccess +++ b/.htaccess @@ -20,8 +20,8 @@ SetEnv modHeadersAvailable true </IfModule> - # Add cache control for CSS and JS files - <FilesMatch "\.(css|js)$"> + # Add cache control for static resources + <FilesMatch "\.(css|js|woff|svg|gif)$"> Header set Cache-Control "max-age=7200, public" </FilesMatch> </IfModule> |