summaryrefslogtreecommitdiffstats
path: root/application/palemoon/app/profile
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-01 07:55:40 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-01 07:55:40 +0200
commitb450f90cd7b24a0a965f65068d8f7196805ee35f (patch)
tree06418b333b2c7d3d625a3c5f2c843717d8aef667 /application/palemoon/app/profile
parenta92253e8d3d41484137115281d24a90ecd51c1be (diff)
downloadUXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar.gz
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar.lz
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar.xz
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.zip
Tune the network stack
This resolves #684
Diffstat (limited to 'application/palemoon/app/profile')
-rw-r--r--application/palemoon/app/profile/palemoon.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js
index 8f0b133e5..15accd146 100644
--- a/application/palemoon/app/profile/palemoon.js
+++ b/application/palemoon/app/profile/palemoon.js
@@ -544,6 +544,25 @@ pref("privacy.sanitize.migrateFx3Prefs", false);
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
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");