diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-08 18:39:53 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-08 18:39:53 +0300 |
commit | 35743c187d0ca0411ec24d564701b3da4ccd3981 (patch) | |
tree | e9e921c961776e72e3cedd03f2ef12e6e02cf9a7 | |
parent | 70eef2a82e1f7a08e8783af16927c21e59d71ccb (diff) |
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> |