Disable firefox's disk cache and limit memory usage.
This commit is contained in:
@@ -84,6 +84,13 @@
|
||||
"browser.ml.enable" = false;
|
||||
"browser.ml.chat.enabled" = false;
|
||||
"browser.ml.chat.menu" = false;
|
||||
|
||||
# Disable disk-based caching to reduce writes to SSDs. My machines have plenty of RAM.
|
||||
"browser.cache.disk.enable" = 0;
|
||||
# Max memory for cache in KiB (set to 1 GiB). This defaults to unbounded (-1).
|
||||
"browser.cache.memory.capacity" = 1048576;
|
||||
# Only keep the previous 5 pages in memory for the back button. This defaults to unbounded (-1).
|
||||
"browser.sessionhistory.max_total_viewers" = 5;
|
||||
};
|
||||
# Check about:policies#documentation and https://mozilla.github.io/policy-templates/ for options.
|
||||
policies = {
|
||||
|
||||
Reference in New Issue
Block a user