diff options
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess index 206d2be33bc..c5dbf194b04 100644 --- a/.htaccess +++ b/.htaccess @@ -21,8 +21,13 @@ </IfModule> # Add cache control for static resources - <FilesMatch "\.(css|js|woff|svg|gif)$"> - Header set Cache-Control "max-age=7200, public" + <FilesMatch "\.(css|js|svg|gif)$"> + Header set Cache-Control "max-age=15778463" + </FilesMatch> + + # Let browsers cache WOFF files for a week + <FilesMatch "\.woff$"> + Header set Cache-Control "max-age=604800" </FilesMatch> </IfModule> <IfModule mod_php5.c> |