[PR #2003] [MERGED] Revert private cache enabled by default #4149

Closed
opened 2026-05-05 10:14:39 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2003
Author: @SkewedZeppelin
Created: 6/14/2018
Status: Merged
Merged: 6/15/2018
Merged by: @netblue30

Base: masterHead: revert-private-cache


📝 Commits (2)

  • ce416de Revert "mounting a tmpfs on ~/.cache directory (private-cache) by default"
  • b885aec Add private-cache to many profiles

📊 Changes

110 files changed (+147 additions, -27 deletions)

View changed files

📝 README.md (+8 -5)
📝 RELNOTES (+1 -3)
📝 etc/Cryptocat.profile (+1 -0)
📝 etc/android-studio.profile (+1 -0)
📝 etc/apktool.profile (+1 -0)
📝 etc/arch-audit.profile (+1 -0)
📝 etc/ardour5.profile (+1 -0)
📝 etc/arduino.profile (+1 -0)
📝 etc/atom.profile (+1 -0)
📝 etc/atool.profile (+1 -0)
📝 etc/bitlbee.profile (+1 -0)
📝 etc/bless.profile (+1 -0)
📝 etc/brackets.profile (+1 -0)
📝 etc/brasero.profile (+1 -0)
📝 etc/cherrytree.profile (+1 -0)
📝 etc/cin.profile (+1 -0)
📝 etc/clion.profile (+1 -0)
📝 etc/clipit.profile (+1 -0)
📝 etc/code.profile (+1 -0)
📝 etc/conky.profile (+1 -0)

...and 80 more files

📄 Description

Commit caa7ad8714 enabled private-cache by default globally.

Should this really be enabled by default? Preventing programs from having persistent cache directories overall has many negative impacts.

  • Most email clients cache emails to allow various functionality and downloading them can take many minutes
  • Caching makes webpages load faster
  • Most music players cache album art from libraries
  • Mapping programs (gnome-maps, viking) don't need to constantly redownload tiles
  • Mesa shader cache improves graphics load performance
  • General waste of bandwith of clients/servers
  • General increase in recomputing things
  • General potential increase in disk I/O

I think it'd be better if we just manually add private-cache only to suitable programs.

private-cache will need to be added to more programs as identified by

grep 'whitelist ${HOME}/.cache' -L $(grep "private-cache" -L $(grep "redirect" -RiL))

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/2003 **Author:** [@SkewedZeppelin](https://github.com/SkewedZeppelin) **Created:** 6/14/2018 **Status:** ✅ Merged **Merged:** 6/15/2018 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `revert-private-cache` --- ### 📝 Commits (2) - [`ce416de`](https://github.com/netblue30/firejail/commit/ce416de492c229b09b4cb466e042f03ed3ce2e40) Revert "mounting a tmpfs on ~/.cache directory (private-cache) by default" - [`b885aec`](https://github.com/netblue30/firejail/commit/b885aec301631b7fc6e1b402820f734b77e670a2) Add private-cache to many profiles ### 📊 Changes **110 files changed** (+147 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -5) 📝 `RELNOTES` (+1 -3) 📝 `etc/Cryptocat.profile` (+1 -0) 📝 `etc/android-studio.profile` (+1 -0) 📝 `etc/apktool.profile` (+1 -0) 📝 `etc/arch-audit.profile` (+1 -0) 📝 `etc/ardour5.profile` (+1 -0) 📝 `etc/arduino.profile` (+1 -0) 📝 `etc/atom.profile` (+1 -0) 📝 `etc/atool.profile` (+1 -0) 📝 `etc/bitlbee.profile` (+1 -0) 📝 `etc/bless.profile` (+1 -0) 📝 `etc/brackets.profile` (+1 -0) 📝 `etc/brasero.profile` (+1 -0) 📝 `etc/cherrytree.profile` (+1 -0) 📝 `etc/cin.profile` (+1 -0) 📝 `etc/clion.profile` (+1 -0) 📝 `etc/clipit.profile` (+1 -0) 📝 `etc/code.profile` (+1 -0) 📝 `etc/conky.profile` (+1 -0) _...and 80 more files_ </details> ### 📄 Description Commit caa7ad8714206a158123773ddcaca6ef219a5501 enabled private-cache by default globally. Should this really be enabled by default? Preventing programs from having persistent cache directories overall has many negative impacts. - Most email clients cache emails to allow various functionality and downloading them can take many minutes - Caching makes webpages load faster - Most music players cache album art from libraries - Mapping programs (gnome-maps, viking) don't need to constantly redownload tiles - Mesa shader cache improves graphics load performance - General waste of bandwith of clients/servers - General increase in recomputing things - General potential increase in disk I/O I think it'd be better if we just manually add `private-cache` only to suitable programs. private-cache will need to be added to more programs as identified by ``` grep 'whitelist ${HOME}/.cache' -L $(grep "private-cache" -L $(grep "redirect" -RiL)) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:14:39 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#4149
No description provided.