-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a cache-cleaner to Kinoite / Silverblue #437
Comments
What is the exact problem of having the older cache present on the system? I would be interested in knowing those details before suggesting any changes to either Kinoite/Silverblue. |
Application should write their cache in a tmpfs / temporary folder if they expect it to be cleaned up on reboot. Otherwise, arbitrarily cleaning cache has no benefits. |
Dealing with misbehaving applications and Flatpaks using their own cache, which is not deleted as far as I know. This is a workaround for a different problem. I know the /tmp should be used but its not, apart from some system applications in my experience. Personally I had 4GB or cache only in the ~/.cache folder, which may be considered as bloat. Maybe a better solution would be integrating this functionality into DEs with a storage limit warning and Interface. |
Arbitrarily deleting the entire cache will penalize applications that use it correctly. If an application behaves incorrectly then you need to identify it and then file a bug for it. |
Yes this is true, uncomplete solution the apps themselves should do. I know on Android in the past is was like that, nowadays it works and this is not needed. For the meantime I will use this anyways as a fallback and analyse what bundles up cache and do issue reports. |
Is your feature request related to a problem? Please describe.
A Problem can be if cache older than x days clutters the system.
Describe the solution you'd like
A tool cleaning the unused cache on shutdown, so that no running application is affected (even though its older than x days so they wouldnt be anyways)
Here is a solution for it using a systemd service
Describe alternatives you've considered
Adding it manually.
The text was updated successfully, but these errors were encountered: