From 6a37456e400e2c535d26f102cc401dd3a98bd3d8 Mon Sep 17 00:00:00 2001 From: HJ <11689349+yokoffing@users.noreply.github.com> Date: Sat, 8 Jul 2023 15:50:26 -0400 Subject: [PATCH] Fast 115 (#186) * removed `layout.css.animation-composition.enabled` (default FF115+) * remove default prefs or removed prefs --- Fastfox.js | 43 ++++++++++++++----------------------------- 1 file changed, 14 insertions(+), 29 deletions(-) diff --git a/Fastfox.js b/Fastfox.js index f5b759c..ead1ba9 100644 --- a/Fastfox.js +++ b/Fastfox.js @@ -3,7 +3,7 @@ * Fastfox * * "Non ducor duco" * * priority: speedy browsing * - * version: 113b * + * version: 115 * * url: https://github.com/yokoffing/Betterfox * ***************************************************************************************/ @@ -82,41 +82,30 @@ user_pref("browser.startup.preXulSkeletonUI", false); // [1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Masonry_Layout user_pref("layout.css.grid-template-masonry-value.enabled", true); -// PREF: CSS Animation Composition [NIGHTLY] -// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1785329 -// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1293490 -// [3] https://developer.mozilla.org/en-US/docs/Web/CSS/animation-composition -user_pref("layout.css.animation-composition.enabled", true); - // PREF: Prioritized Task Scheduling API [NIGHTLY] // [1] https://blog.mozilla.org/performance/2022/06/02/prioritized-task-scheduling-api-is-prototyped-in-nightly/ // [2] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91 user_pref("dom.enable_web_task_scheduling", true); -// PREF: inert HTML attribute [NIGHTLY] -//user_pref("html5.inert.enabled", true); - -// PREF: container query length units [NIGHTLY] -//user_pref("layout.css.container-queries.enabled", true); - // PREF: scroll-linked animations [NIGHTLY] //user_pref("layout.css.scroll-driven-animations.enabled", true); // PREF: HTML Sanitizer API [NIGHTLY] //user_pref("dom.security.sanitizer.enabled", true); -// PREF: Clear-Site-Data: "cache" header [NIGHTLY] -// [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data -//user_pref("privacy.clearsitedata.cache.enabled", true); - // PREF: Shadowrealms [NIGHTLY] // [1] https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md#introduction //user_pref("javascript.options.experimental.shadow_realms", true); -// PREF: Wasm GC + References [NIGHTLY] +// PREF: Wasm GC [NIGHTLY] +// WASM GC refers to garbage collection for WebAssembly. Garbage collection is a mechanism +// to automatically free up memory that is no longer being used by a program. This helps +// manage memory and prevent memory leaks. // [1] https://github.com/WebAssembly/gc/blob/main/proposals/gc/Overview.md -// [2] https://github.com/WebAssembly/function-references/blob/master/proposals/function-references/Overview.md //user_pref("javascript.options.wasm_gc", true); + +// PREF: WASM Function References [NIGHTLY] +// [1] https://github.com/WebAssembly/function-references/blob/master/proposals/function-references/Overview.md //user_pref("javascript.options.wasm_function_references", true); // PREF: import assertions [NIGHTLY] @@ -128,10 +117,10 @@ user_pref("dom.enable_web_task_scheduling", true); //user_pref("javascript.options.experimental.enable_change_array_by_copy", true); //user_pref("javascript.options.experimental.enable_array_from_async", true); -// PREF: indexedDB +// PREF: indexedDB preprocessing // [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1112702 -//user_pref("dom.indexedDB.preprocessing", true); -//user_pref("dom.indexedDB.experimental", false); // DEFAULT +//user_pref("dom.indexedDB.experimental", true); + //user_pref("dom.indexedDB.preprocessing", true); // PREF: WebGPU [HIGHLY EXPERIMENTAL!] // [WARNING] Do not enable unless you are a web developer! @@ -142,10 +131,6 @@ user_pref("dom.enable_web_task_scheduling", true); //user_pref("dom.webgpu.enabled", true); //user_pref("gfx.webgpu.force-enabled", true); -// PREF: Animated AVIF [NIGHTLY] -// [1] https://codecalamity.com/animated-avif-is-finally-coming-to-firefox/ -//user_pref("image.avif.sequence.enabled", true); - // PREF: NVIDIA RTX Video Super Resolution for video overlay [WINDOWS] // This is also a setting in NVIDIA's driver settings, so once this is // stable, it should default to true. @@ -228,9 +213,9 @@ user_pref("media.cache_resume_threshold", 6000); // default=30; when a network c // having to re-download objects for the websites you visit frequently //user_pref("browser.cache.disk.enable", true); // DEFAULT; overrides Securefox //user_pref("browser.cache.disk.capacity", 1048576); // 1 GB disk cache; 8192000 = 8 GB - //user_pref("browser.cache.disk.smart_size.enabled", false); // disable adaptive cache size on disk + //user_pref("browser.cache.disk.smart_size.enabled", false); // force a fixed max cache size on disk //user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT -//user_pref("browser.cache.disk.metadata_memory_limit", 1024); // increase the memory capacity in Firefox, in order to load more pages, faster +//user_pref("browser.cache.disk.metadata_memory_limit", 15360); // increase size (in KB) of intermediate memory caching of frequently used metadata (disk cache memory pool) //user_pref("browser.cache.max_shutdown_io_lag", 8); // number of seconds the cache spends writing pending data and closing files after shutdown has been signalled //user_pref("browser.cache.frecency_half_life_hours", 6); // DEFAULT; sweep intervals, the half life used to re-compute cache entries frequency (in hours) @@ -260,7 +245,7 @@ user_pref("network.http.max-persistent-connections-per-server", 10); // default= //user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6 // PREF: increase DNS cache -// [NOTE] May be overridden by DNS resolver, especially if using TRR +// [NOTE] The latter two may be overridden by DNS resolver, especially if using TRR //user_pref("network.dnsCacheEntries", 20000); //user_pref("network.dnsCacheExpiration", 3600); // keep entries for 1 hour //user_pref("network.dnsCacheExpirationGracePeriod", 240); // 4 minutes