summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-07-29 19:52:15 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-07-29 19:52:15 +0200
commit36bbe56a13c76ce0ae0f9ffa58074e98e6250b09 (patch)
tree95985d6d71cf045483a56fe060a49dde4b07e75f
parent61d04e878eca1b6c6b60f4b1fdd8e2b0ab4c2623 (diff)
downloadbugzilla-36bbe56a13c76ce0ae0f9ffa58074e98e6250b09.tar.gz
bugzilla-36bbe56a13c76ce0ae0f9ffa58074e98e6250b09.tar.xz
Bug 899103 - Add AddOutputFilterByType to .htaccess to enable gzip encoding for application/json and application/javascript type responses
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 7fe2307d9..d71ab2284 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,6 +24,10 @@
</IfModule>
</IfModule>
+<IfModule mod_deflate.c>
+ AddOutputFilterByType DEFLATE text/javascript application/json application/javascript
+</IfModule>
+
AddType image/x-icon .ico
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html