mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-04 14:27:30 +09:00
parent
62255ec61f
commit
963d2844aa
2 changed files with 21 additions and 6 deletions
|
|
@ -544,6 +544,25 @@ pref("privacy.sanitize.migrateFx3Prefs", false);
|
||||||
|
|
||||||
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
||||||
|
|
||||||
|
// Disable speculative half-open connections on Pale Moon
|
||||||
|
pref("network.http.speculative-parallel-limit", 0);
|
||||||
|
|
||||||
|
// Enable pipelining over SSL
|
||||||
|
pref("network.http.pipelining.ssl", true);
|
||||||
|
|
||||||
|
// Disable predictor/prefetch of URIs
|
||||||
|
pref("network.predictor.enabled", false);
|
||||||
|
pref("network.prefetch-next", false);
|
||||||
|
|
||||||
|
// Disable DNS prefetching
|
||||||
|
pref("network.dns.disablePrefetch", true);
|
||||||
|
|
||||||
|
// Tune DNS lookups
|
||||||
|
pref("network.dnsCacheEntries", 800);
|
||||||
|
pref("network.dnsCacheExpiration", 180); // 3 minutes if no TTL given by DNS resolver
|
||||||
|
pref("network.dns.get-ttl", true); // Get and use DNS resolver TTL
|
||||||
|
pref("network.dnsCacheExpirationGracePeriod", 60); // 1 minute grace period for stale entry
|
||||||
|
|
||||||
// simple gestures support
|
// simple gestures support
|
||||||
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
|
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
|
||||||
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
|
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
|
||||||
|
|
|
||||||
|
|
@ -1435,11 +1435,7 @@ pref("network.http.response.timeout", 300);
|
||||||
// Limit the absolute number of http connections.
|
// Limit the absolute number of http connections.
|
||||||
// Note: the socket transport service will clamp the number below this if the OS
|
// Note: the socket transport service will clamp the number below this if the OS
|
||||||
// cannot allocate that many FDs
|
// cannot allocate that many FDs
|
||||||
#ifdef ANDROID
|
|
||||||
pref("network.http.max-connections", 256);
|
pref("network.http.max-connections", 256);
|
||||||
#else
|
|
||||||
pref("network.http.max-connections", 900);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// If NOT connecting via a proxy, then
|
// If NOT connecting via a proxy, then
|
||||||
// a new connection will only be attempted if the number of active persistent
|
// a new connection will only be attempted if the number of active persistent
|
||||||
|
|
@ -1487,13 +1483,13 @@ pref("network.http.redirection-limit", 20);
|
||||||
pref("network.http.accept-encoding", "gzip, deflate");
|
pref("network.http.accept-encoding", "gzip, deflate");
|
||||||
pref("network.http.accept-encoding.secure", "gzip, deflate, br");
|
pref("network.http.accept-encoding.secure", "gzip, deflate, br");
|
||||||
|
|
||||||
pref("network.http.pipelining" , false);
|
pref("network.http.pipelining" , true);
|
||||||
pref("network.http.pipelining.ssl" , false); // disable pipelining over SSL
|
pref("network.http.pipelining.ssl" , false); // disable pipelining over SSL
|
||||||
pref("network.http.pipelining.abtest", false);
|
pref("network.http.pipelining.abtest", false);
|
||||||
pref("network.http.proxy.pipelining", false);
|
pref("network.http.proxy.pipelining", false);
|
||||||
|
|
||||||
// Max number of requests in the pipeline
|
// Max number of requests in the pipeline
|
||||||
pref("network.http.pipelining.maxrequests" , 32);
|
pref("network.http.pipelining.maxrequests" , 16);
|
||||||
|
|
||||||
// An optimistic request is one pipelined when policy might allow a new
|
// An optimistic request is one pipelined when policy might allow a new
|
||||||
// connection instead
|
// connection instead
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue