Browse Source

Merge pull request #217 from Alkarex/patch-1

Page Speed : Compression explicite
Alexandre Alapetite 12 years ago
parent
commit
f2c7b98cb5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      public/.htaccess

+ 4 - 0
public/.htaccess

@@ -12,6 +12,10 @@ AddDefaultCharset	UTF-8
 	AddType application/font-woff .woff
 	AddType application/font-woff .woff
 </IfModule>
 </IfModule>
 
 
+<IfModule mod_deflate.c>
+	AddOutputFilterByType DEFLATE application/javascript image/svg+xml text/css text/javascript
+</IfModule>
+
 <IfModule mod_expires.c>
 <IfModule mod_expires.c>
 	ExpiresActive	on
 	ExpiresActive	on
 	ExpiresByType	application/font-woff	"access plus 1 month"
 	ExpiresByType	application/font-woff	"access plus 1 month"