From 053808ba971dc308640d2f1646fb6dbb126d6c0e Mon Sep 17 00:00:00 2001
From: Thorin-Oakenpants <Thorin-Oakenpants@users.noreply.github.com>
Date: Sat, 27 Apr 2019 14:03:02 +0000
Subject: [PATCH] 1001: remove dead wood

- these are not needed, you can view your cache in about:cache, or look at your `profile/cache2` folder (at least for portable Firefox), the remaining pref is enough to achieve the desired result
- browser.cache.disk.smart_size.first_run is set internally (for me it got automatically reset to modified false)
- the other two prefs are just more things for users to have deal with if they want to use disk cache
---
 user.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/user.js b/user.js
index 7237e15..49802e7 100644
--- a/user.js
+++ b/user.js
@@ -683,12 +683,9 @@ user_pref("_user.js.parrot", "1000 syntax error: the parrot's gone to meet 'is m
 /** CACHE ***/
 /* 1001: disable disk cache
  * [SETUP-PERF] If you think disk cache may help (heavy tab user, high-res video),
- * or you use a hardened Temporary Containers, then feel free to override these
+ * or you use a hardened Temporary Containers, then feel free to override this
  * [NOTE] We also clear cache on close (see 2803) ***/
 user_pref("browser.cache.disk.enable", false);
-user_pref("browser.cache.disk.capacity", 0);
-user_pref("browser.cache.disk.smart_size.enabled", false);
-user_pref("browser.cache.disk.smart_size.first_run", false);
 /* 1002: disable disk cache for SSL pages
  * [1] http://kb.mozillazine.org/Browser.cache.disk_cache_ssl ***/
 user_pref("browser.cache.disk_cache_ssl", false);