firefox-omni-tweaks
firefox-omni-tweaks copied to clipboard
Clear only relevant cache and introduce option to also apply cache clear to other system users
trafficstars
- [ ] New default: delete
startupCachedirectory only of profiles that are used by the tweaked Firefox installations, of the current system user (i.e./homedirectories) 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.
Depends on #11.
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.