From b33cc1faa8dba4d1947170cbacd1ccd55e3e3bf1 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Tue, 6 Jul 2021 03:07:36 +0000 Subject: [PATCH] [network] Enable brotli compression on http for sites that offer it. --- modules/libpref/init/all.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 1e36ae2978..8baae8ed2a 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);