protonscr

Support Cache Directory Tagging Standard (CACHEDIR.TAG)

steamopen Feature Requestreviewed
ValveSoftware/steam-for-linux#3096 · opened 2014-01-14 by Tblue · updated 2019-07-18 · 2 comments · github
TTblue 2014-01-14 github

Here's a small feature request:

Steam has a lot of cache directories under ~/.local/share/Steam. It would be nice if Steam could mark them using the Cache Directory Tagging Standard so that they could be easily ignored by e. g. backup tools.

A quick find -L . -type d -iname '*cache*' in ~/.local/share/Steam shows the following cache directories (excluding game-specific caches under ~/.local/share/Steam/SteamApps):

./appcache
./appcache/httpcache
./steam/cached
./config/overlayhtmlcache
./config/overlayhtmlcache/AppCache
./config/htmlcache
./config/htmlcache/AppCache
./config/avatarcache
./depotcache
./tenfoot/config/httpcache
TTblue 2014-01-15 github

Further investigation suggests that only the following directories are caches that should be excluded from e. g. backups:

~/.local/share/Steam/appcache/httpcache
~/.local/share/Steam/steam/cached
~/.local/share/Steam/config/overlayhtmlcache
~/.local/share/Steam/config/htmlcache
~/.local/share/Steam/config/avatarcache
~/.local/share/Steam/depotcache
~/.local/share/Steam/tenfoot/config/httpcache
Jjanlarres 2017-11-04 github

It would be even better if the cache directories were instead moved to $XDG_CACHE_HOME, following the XDG Base Directory spec.

Nothing extracted yet.