Compare commits

...

3 Commits

Author SHA1 Message Date
Aminda Suomalainen 4a08068634
unbound/cache: serve-expired: yes
I am unsure on whether this actually affects anything without setting the other expired options too
2024-04-07 19:44:10 +03:00
Aminda Suomalainen b03218c78b
unbound/cache.conf: add prefetch & prefetch-key 2024-04-07 17:34:36 +03:00
Aminda Suomalainen f42d800872
LibreAwoo: consider what should be defaultpref, comment urlbar/search 2024-04-07 13:32:19 +03:00
2 changed files with 17 additions and 9 deletions

View File

@ -90,7 +90,7 @@ pref("privacy.clearOnShutdown.sessions", false);
pref("privacy.clearOnShutdown.siteSettings", false);
// Don't resume from crash (SSD)
pref("browser.sessionstore.resume_from_crash", false);
defaultPref("browser.sessionstore.resume_from_crash", false);
// Click to play. https://wiki.mozilla.org/Media/block-autoplay
pref("media.autoplay.blocking_policy", 2);
@ -110,19 +110,19 @@ pref("reader.parse-on-load.force-enabled", true);
// TRR & ECH
// Mode 2 allows fallback to system resolver, 3 is TTR-only
//pref("network.trr.mode", 2);
pref("network.trr.mode", 3);
defaultPref("network.trr.mode", 3);
pref("network.trr.early-AAAA", true);
pref("network.trr.uri", "https://dns0.eu");
defaultPref("network.trr.uri", "https://dns0.eu");
//pref("network.trr.uri", "https://dns.adguard-dns.com/dns-query");
// NOTE: ECH requires TRR, so mode 2 may not use it.
pref("network.trr.disable-ECS", false);
defaultPref("network.trr.disable-ECS", false);
pref("network.dns.echconfig.enabled", true);
pref("network.dns.use_https_rr_as_altsvc", true);
pref("network.trr.exclude-etc-hosts", false);
pref("network.trr.excluded-domains", "http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com");
// Default UI scale
pref("layout.css.devPixelsPerPx", "1.5");
defaultPref("layout.css.devPixelsPerPx", "1.5");
// Keep cache on both disk & memory. This is required for
// https://github.com/JimmXinu/FanFicFare/wiki/BrowserCacheFeature
@ -252,10 +252,10 @@ pref("browser.region.update.enabled", false);
* disable search suggestion and do not update opensearch engines.
*/
pref("browser.urlbar.suggest.searches", false);
pref("browser.search.suggest.enabled", false);
pref("browser.search.update", false);
pref("browser.search.separatePrivateDefault", true); // [FF70+] // Arkenfox user.js v119
//pref("browser.urlbar.suggest.searches", false);
//pref("browser.search.suggest.enabled", false);
//pref("browser.search.update", false);
//pref("browser.search.separatePrivateDefault", true); // [FF70+] // Arkenfox user.js v119
pref("browser.search.separatePrivateDefault.ui.enabled", true); // [FF71+] // Arkenfox user.js v119
pref("browser.urlbar.suggest.mdn", true);

View File

@ -15,3 +15,11 @@ server:
# minute in the wild, I think 5 mins shouldn't break anything, but bigger
# might.
cache-min-ttl: 900
# Update cache for popular items before they expire. ~10 % traffic
# increase according to `man unbound.conf`
prefetch: yes
# Fetch keys when DS is encountered, lower latency for a bit higher CPU use
prefetch-key: yes
# Allow expired results to be served if they are in cache. The cache will
# get updated the next time.
serve-expired: yes