[network] Enable brotli compression on http for sites that offer it.

This commit is contained in:
Moonchild 2021-07-06 03:07:36 +00:00 committed by roytam1
commit b33cc1faa8

View file

@ -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);