summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-07-06 03:07:36 +0000
committerMoonchild <moonchild@palemoon.org>2021-07-06 03:07:36 +0000
commit3163b3af18d8b8ffa7b8294f61602b0f0f27da2f (patch)
tree53fde4749952d7a25a4f5f04a5dccd442e4ca569
parent1fb9257ed883e3d7df855632615cca1425c3ecba (diff)
downloaduxp-3163b3af18d8b8ffa7b8294f61602b0f0f27da2f.tar.gz
[network] Enable brotli compression on http for sites that offer it.
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index ad98f7a07c..79e393efe0 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1463,7 +1463,8 @@ pref("network.http.redirection-limit", 20);
// Enable http compression: comment this out in case of problems with 1.1
// NOTE: support for "compress" has been disabled per bug 196406.
// NOTE: separate values with comma+space (", "): see bug 576033
-pref("network.http.accept-encoding", "gzip, deflate");
+// NOTE: there is currently no reason except evangelism for https to not use brotli for http
+pref("network.http.accept-encoding", "gzip, deflate, br");
pref("network.http.accept-encoding.secure", "gzip, deflate, br");
pref("network.http.pipelining" , true);