From a88963b82724bebb04f224f4a88f298265c65f36 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 4 Nov 2013 21:07:33 +0100 Subject: Ajouts à Apache .htaccess MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajout en particulier du support des .map (jQuery Source Map) --- public/.htaccess | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'public') diff --git a/public/.htaccess b/public/.htaccess index 74c24275e..54d6bd496 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -6,20 +6,24 @@ FileETag None AddDefaultCharset UTF-8 + AddType application/json .map + AddType application/font-woff .woff + AddCharset UTF-8 .css AddCharset UTF-8 .js + AddCharset UTF-8 .map AddCharset UTF-8 .svg - AddType application/font-woff .woff - AddOutputFilterByType DEFLATE application/javascript image/svg+xml text/css text/javascript + AddOutputFilterByType DEFLATE application/javascript application/json image/svg+xml text/css text/javascript ExpiresActive on ExpiresByType application/font-woff "access plus 1 month" ExpiresByType application/javascript "access plus 1 week" + 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" @@ -32,7 +36,7 @@ AddDefaultCharset UTF-8 - + Header merge Cache-Control "public" -- cgit v1.2.3