Skip to content

Commit

Permalink
1001: remove dead wood
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Thorin-Oakenpants committed Apr 27, 2019
1 parent 2d0182c commit 053808b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 053808b

Please sign in to comment.