firefox-omni-tweaks icon indicating copy to clipboard operation
firefox-omni-tweaks copied to clipboard

Clear only relevant cache and introduce option to also apply cache clear to other system users

Open SebastianSimon opened this issue 4 years ago • 2 comments
trafficstars

  • [ ] New default: delete startupCache directory only of profiles that are used by the tweaked Firefox installations, of the current system user (i.e. /home directories) only.
  • [ ] New opt-in: do the same, but of all users.

Name for the “clear cache of all users” opt-in: --cache-clear-system-wide, -c.

SebastianSimon avatar Jul 12 '21 19:07 SebastianSimon

Depends on #11.

SebastianSimon avatar Jul 12 '21 19:07 SebastianSimon

Another idea is to interactively ask if cache should be cleared for all users, with potential switch to root. But this idea may be too much complexity for too little benefit.

Then, in #11, I’ve also considered a -u or --user option to add a specific user’s cache to clear. This is too complicated, has questionable semantics of how to deal with the current users, non-existing users, duplicate users, or how to specify all users.

SebastianSimon avatar Aug 20 '22 15:08 SebastianSimon