mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Updated Optional Hardening (markdown)
+8
-3
@@ -88,8 +88,7 @@ Keep in mind that disabling the disk cache is only available on Firefox. It is c
|
||||
|
||||
Only disable the disk cache if your machine has or 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/).
|
||||
* **12GB+ RAM (memory).** Only using the memory and media caches may be faster, but [YMMV](https://www.urbandictionary.com/define.php?term=ymmv).
|
||||
* **100-300+ Mbps** internet speed. Otherwise, it's probably faster to retrieve information from disk ([test](https://fast.com/)).
|
||||
* More than **300 Mbps** internet speed. Otherwise, it's probably faster to retrieve information from disk ([test](https://fast.com/)).
|
||||
* Or ultimately, you believe disabling it helps your privacy or performance.
|
||||
```javascript
|
||||
// PREF: disable disk cache
|
||||
@@ -117,11 +116,14 @@ user_pref("security.cert_pinning.enforcement_level", 2);
|
||||
#### Option 1: Clear cookies and cache on shutdown
|
||||
* `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Delete cookies and site data when Firefox is closed*
|
||||
```javascript
|
||||
// PREF: delete cookies and site data on shutdown
|
||||
// PREF: delete cookies, cache, and site data on shutdown
|
||||
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
|
||||
user_pref("privacy.clearOnShutdown.cache", true);
|
||||
user_pref("privacy.clearOnShutdown.cookies", true);
|
||||
user_pref("privacy.clearOnShutdown.offlineApps", true);
|
||||
|
||||
// PREF: do not save extra session data such as form content,
|
||||
// scrollbar positions, and POST data after crashes or restarts
|
||||
user_pref("browser.sessionstore.privacy_level", 2);
|
||||
```
|
||||
|
||||
@@ -138,6 +140,9 @@ user_pref("privacy.clearOnShutdown.cache", true);
|
||||
user_pref("privacy.clearOnShutdown.cookies", true);
|
||||
user_pref("privacy.clearOnShutdown.offlineApps", true);
|
||||
user_pref("privacy.clearOnShutdown.siteSettings", false);
|
||||
|
||||
// PREF: do not save extra session data such as form content,
|
||||
// scrollbar positions, and POST data after crashes or restarts
|
||||
user_pref("browser.sessionstore.privacy_level", 2);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user