diff options
| author | 2013-11-10 00:33:02 +0100 | |
|---|---|---|
| committer | 2013-11-10 00:33:02 +0100 | |
| commit | b00fedba2576b7590b24ebb37795413c1fefa612 (patch) | |
| tree | 5b3f76ed86a70763069e96aae44437c740d3ca06 | |
| parent | 3968732d6263de58ae6c4c7b162e2299324555a8 (diff) | |
Apache htaccess : augmentation du cache
Maintenant qu'il y a un paramètre automatique derrière les ressources
statiques, augmentation de la durée du cache pour CSS et JS
| -rw-r--r-- | public/.htaccess | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/.htaccess b/public/.htaccess index 54d6bd496..8653826f8 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -22,14 +22,14 @@ AddDefaultCharset UTF-8 <IfModule mod_expires.c> ExpiresActive on ExpiresByType application/font-woff "access plus 1 month" - ExpiresByType application/javascript "access plus 1 week" + ExpiresByType application/javascript "access plus 1 month" ExpiresByType application/json "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/svg+xml "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" - ExpiresByType text/css "access plus 1 week" - ExpiresByType text/javascript "access plus 1 week" + ExpiresByType text/css "access plus 1 month" + ExpiresByType text/javascript "access plus 1 month" <FilesMatch "\.php$"> ExpiresActive Off </FilesMatch> |
