ソースを参照

Merge pull request #217 from Alkarex/patch-1

Page Speed : Compression explicite
Alexandre Alapetite 12 年 前
コミット
f2c7b98cb5
1 ファイル変更4 行追加0 行削除
  1. 4 0
      public/.htaccess

+ 4 - 0
public/.htaccess

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