mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
[Pale-Moon] Issue #1967 - Enable prefetching and provide interface.
- Expose network.dns.disablePrefetch to UI. - Set the pref to false by default (DNS prefetch enabled) Resolves #1967
This commit is contained in:
parent
b1fd3b72cf
commit
1d9b68afa8
3 changed files with 25 additions and 4 deletions
|
|
@ -570,8 +570,8 @@ pref("network.http.pipelining.ssl", true);
|
|||
pref("network.predictor.enabled", false);
|
||||
pref("network.prefetch-next", false);
|
||||
|
||||
// Disable DNS prefetching
|
||||
pref("network.dns.disablePrefetch", true);
|
||||
// Enable DNS prefetching
|
||||
pref("network.dns.disablePrefetch", false);
|
||||
|
||||
// Tune DNS lookups
|
||||
pref("network.dnsCacheEntries", 800);
|
||||
|
|
|
|||
|
|
@ -52,6 +52,9 @@
|
|||
<preference id="pref.general.captiveportal" name="network.captive-portal-service.enabled" type="bool"/>
|
||||
|
||||
<!-- Network tab -->
|
||||
<preference id="network.dns.prefetch" name="network.dns.disablePrefetch" type="bool" inverted="true"/>
|
||||
|
||||
<!-- Cache tab -->
|
||||
<preference id="browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/>
|
||||
|
||||
<preference id="browser.cache.disk.smart_size.enabled"
|
||||
|
|
@ -124,6 +127,7 @@
|
|||
<tabs id="tabsElement">
|
||||
<tab id="generalTab" label="&generalTab.label;" helpTopic="prefs-advanced-general"/>
|
||||
<tab id="networkTab" label="&networkTab.label;" helpTopic="prefs-advanced-network"/>
|
||||
<tab id="cacheTab" label="&cacheTab.label;" helpTopic="prefs-advanced-cache"/>
|
||||
<tab id="updateTab" label="&updateTab.label;" helpTopic="prefs-advanced-update"/>
|
||||
<tab id="encryptionTab" label="&certificateTab.label;" helpTopic="prefs-advanced-encryption"/>
|
||||
<tab id="scrollparamTab" label="&scrollparamTab.label;" helpTopic="prefs-advanced-scrollparams"/>
|
||||
|
|
@ -221,7 +225,6 @@
|
|||
|
||||
<!-- Network -->
|
||||
<tabpanel id="networkPanel" orient="vertical">
|
||||
|
||||
<!-- Connection -->
|
||||
<groupbox id="connectionGroup">
|
||||
<caption label="&connection.label;"/>
|
||||
|
|
@ -233,8 +236,20 @@
|
|||
oncommand="gAdvancedPane.showConnections();"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<!-- DNS settings -->
|
||||
<groupbox id="DNSGroup">
|
||||
<caption label="&DNS.label;"/>
|
||||
<checkbox id="enableDNSPrefetch"
|
||||
label="&enableDNSPrefetch.label;"
|
||||
accesskey="&enableDNSPrefetch.accesskey;"
|
||||
preference="network.dns.prefetch"/>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
<!-- Cache -->
|
||||
<tabpanel id="cachePanel" orient="vertical">
|
||||
|
||||
<!-- Cache -->
|
||||
<groupbox id="cacheGroup">
|
||||
<caption label="&httpCache.label;"/>
|
||||
|
||||
|
|
|
|||
|
|
@ -61,6 +61,12 @@
|
|||
<!ENTITY connectionSettings.label "Settings…">
|
||||
<!ENTITY connectionSettings.accesskey "e">
|
||||
|
||||
<!ENTITY DNS.label "DNS">
|
||||
<!ENTITY enableDNSPrefetch.label "Prefetch DNS lookups">
|
||||
<!ENTITY enableDNSPrefetch.accesskey "P">
|
||||
|
||||
<!ENTITY cacheTab.label "Cache">
|
||||
|
||||
<!ENTITY httpCache.label "Cached Web Content">
|
||||
|
||||
<!ENTITY offlineStorage2.label "Offline Web Content and User Data">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue