1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30

reorder subheadings

This commit is contained in:
yokoffing
2022-11-29 00:45:52 -05:00
committed by GitHub
parent 2f0999939e
commit ca15a55a49
+33 -33
View File
@@ -102,39 +102,10 @@ user_pref("layout.css.animation-composition.enabled", true);
//user_pref("dom.webgpu.enabled", true); //user_pref("dom.webgpu.enabled", true);
//user_pref("gfx.webgpu.force-enabled", true); //user_pref("gfx.webgpu.force-enabled", true);
/****************************************************************************
* SECTION: NETWORK *
****************************************************************************/
// PREF: use bigger packets
// [1] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74561.html
// [2] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74570.html
user_pref("network.buffer.cache.size", 262144); // preferred=327680; default=32768
user_pref("network.buffer.cache.count", 128); // preferred=240; default=24
// PREF: increase the absolute number of HTTP connections
// [1] https://kb.mozillazine.org/Network.http.max-connections
// [2] https://kb.mozillazine.org/Network.http.max-persistent-connections-per-server
//user_pref("network.http.max-connections", 1800); // default=900
//user_pref("network.http.max-persistent-connections-per-server", 10); // default=6; download connections; anything above 10 is excessive
//user_pref("network.http.max-persistent-connections-per-proxy", 48); // default=32
//user_pref("network.http.max-urgent-start-excessive-connections-per-host", 6); // default=3
//user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
// These do not help speed, probably:
// PREF: DoH requests
//user_pref("network.trr.request_timeout_ms", 800); // default=1500
//user_pref("network.trr.retry-timeout-ms", 125); // DEFAULT
//user_pref("network.trr.request_timeout_mode_trronly_ms", 15000); // default=30000
// PREF: close a connection if tls handshake does not finish in given number of seconds
//user_pref("network.http.tls-handshake-timeout", 20); // default=30
// PREF: timeout connections if an initial response is not received in number of seconds
//user_pref("network.http.response.timeout", 200); // default=300
/**************************************************************************** /****************************************************************************
* SECTION: MAKE FIREFOX FAST * * SECTION: MAKE FIREFOX FAST *
* [NOTE] The following is not recommended for low-end machines * * [NOTE] The following is not recommended for low-end machines *
* Credit for most of these: * * Credit for many of these: *
* https://gist.github.com/RubenKelevra/fd66c2f856d703260ecdf0379c4f59db * * https://gist.github.com/RubenKelevra/fd66c2f856d703260ecdf0379c4f59db *
* [NOTE] For best performance on older hardware, you will need to test * * [NOTE] For best performance on older hardware, you will need to test *
* these settings individually. * * these settings individually. *
@@ -217,6 +188,38 @@ user_pref("media.cache_resume_threshold", 6000); // default=30; when a network c
//user_pref("browser.cache.memory.capacity", 5242880); // default=-1; 256000=256MB, 512000=512MB, 1024000=1GB, 2097152=2GB, 5242880=5GB, 8388608=8GB //user_pref("browser.cache.memory.capacity", 5242880); // default=-1; 256000=256MB, 512000=512MB, 1024000=1GB, 2097152=2GB, 5242880=5GB, 8388608=8GB
user_pref("browser.cache.memory.max_entry_size", 153600); // alt=51200; preferred=327680 ; -1 -> entries bigger than than 90% of the mem-cache are never cached user_pref("browser.cache.memory.max_entry_size", 153600); // alt=51200; preferred=327680 ; -1 -> entries bigger than than 90% of the mem-cache are never cached
/****************************************************************************
* SECTION: NETWORK *
****************************************************************************/
// PREF: use bigger packets
// [1] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74561.html
// [2] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74570.html
user_pref("network.buffer.cache.size", 262144); // preferred=327680; default=32768
user_pref("network.buffer.cache.count", 128); // preferred=240; default=24
// PREF: increase the absolute number of HTTP connections
// [1] https://kb.mozillazine.org/Network.http.max-connections
// [2] https://kb.mozillazine.org/Network.http.max-persistent-connections-per-server
//user_pref("network.http.max-connections", 1800); // default=900
//user_pref("network.http.max-persistent-connections-per-server", 9); // default=6; download connections; anything above 10 is excessive
//user_pref("network.http.max-persistent-connections-per-proxy", 48); // default=32
//user_pref("network.http.max-urgent-start-excessive-connections-per-host", 6); // default=3
//user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
// PREF: increase TLS token caching
user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; faster SSL (fast reconnects)
// These do not help speed, probably:
// PREF: DoH requests
//user_pref("network.trr.request_timeout_ms", 800); // default=1500
//user_pref("network.trr.retry-timeout-ms", 125); // DEFAULT
//user_pref("network.trr.request_timeout_mode_trronly_ms", 15000); // default=30000
// PREF: close a connection if tls handshake does not finish in given number of seconds
//user_pref("network.http.tls-handshake-timeout", 20); // default=30
// PREF: timeout connections if an initial response is not received in number of seconds
//user_pref("network.http.response.timeout", 200); // default=300
/**************************************************************************** /****************************************************************************
* SECTION: SPECULATIVE CONNECTIONS * * SECTION: SPECULATIVE CONNECTIONS *
****************************************************************************/ ****************************************************************************/
@@ -251,6 +254,3 @@ user_pref("network.predictor.enable-hover-on-ssl", true);
user_pref("network.predictor.prefetch-rolling-load-count", 120); // default=10 user_pref("network.predictor.prefetch-rolling-load-count", 120); // default=10
user_pref("network.predictor.max-resources-per-entry", 250); // default=100 user_pref("network.predictor.max-resources-per-entry", 250); // default=100
user_pref("network.predictor.max-uri-length", 1000); // default=500 user_pref("network.predictor.max-uri-length", 1000); // default=500
// PREF: increase TLS token caching
user_pref("network.ssl_tokens_cache_capacity", 32768); // faster SSL (fast reconnects)