Cleaning of $XDG_CACHE_HOME and $XDG_CACHE_HOME/thumbnails

Benjamin Berg benjamin at sipsolutions.net
Thu Feb 27 09:08:41 UTC 2020


Hi,

On Wed, 2020-02-26 at 18:18 +0100, Benjamin Berg wrote:
> The strong argument in favour is that we have an external service that
> guarantees cleanup even if the application is not running regularly.
> For example, I have multiple .cache/* directories with relevant amounts
> of junk data for applications that I have not used in months to years.

I would like to add one more point here. With this, we can provide a
way for the user to clear all caches, etc. i.e. the DE can simply run
systemd-tmpfiles --clean (or the equivalent) to wipe all caches that
have automatic cleanup configured.
Such a feature can be both useful for privacy reasons and to clear up
disk space. e.g. as a suggested action when running low on space.

Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/xdg/attachments/20200227/5766e6f6/attachment.sig>


More information about the xdg mailing list