diff --git a/Optional-Hardening.md b/Optional-Hardening.md index 77e0330..f3f73dc 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -66,6 +66,18 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true); *** +### Disk Cache +Only disable the disk cache if your machine: +* **Uses [HDD](https://www.pcmag.com/encyclopedia/term/hard-disk).** Hard drive failure with modern SSDs is [non-existent](https://www.reddit.com/r/firefox/comments/xxj06q/comment/irfidb4/). +* **Has 16GB+ RAM (memory).** With sufficient RAM, only using the memory and media caches may be faster, but [YMMV](https://www.urbandictionary.com/define.php?term=ymmv). +* You believe disabling it helps your privacy. +```javascript +// PREF: disable disk cache +user_pref("browser.cache.disk.enable", false); +``` + +*** + ### Public Key Pinning [Public Key Pinning](https://wiki.mozilla.org/SecurityEngineering/Public_Key_Pinning) (PKP) is a tool that boosts the safety of [SSL certificates](https://www.cloudflare.com/learning/ssl/what-is-an-ssl-certificate/) by linking a website to its unique security key. This process ensures that the website you're visiting is real and not fake. PKP stops any attempts to trick your computer into connecting with a fraudulent website.