Also run into this issue. I used to exclude cache data from backups by simply excluding $HOME/.cache . Since the introduction of Snap apps, I have the troublesome task to exclude every .cache folder per snap app separately in the backup script. Especially with apps like Spotify it is necessary for it will otherwise include many GBs of cache data in my backups I really don't want.
It would be great if indeed Snap would comply to at least one base XDG_CACHE_HOME for all apps somehow, for instance by putting subdirectories for cache data per app,like ~/.cache/snap/chromium ~/.cache/snap/spotify etc. -- You received this bug notification because you are a member of UBUNTU - AL - BR, which is subscribed to Chromium Browser. https://bugs.launchpad.net/bugs/1887804 Title: chromium-browser does not follow XDG base directory specification Status in Chromium Browser: Invalid Status in chromium-browser package in Ubuntu: Opinion Bug description: Currently Chromium does not follow the XDG base directory specification which means that the cache and configuration folder aren't properly used. This causes the issue that it's nearly impossible to properly migrate or back up Chromium configuration (between computers) and it makes for example mounting cache as tmpfs or wiping it very very difficult. I felt those both immensely when trying to migrate my home folder, gigabytes of cache in ~/snap/chromium/[id]/.config/chromium/[folder] (and ~/snap itself is also not XDG base directory specification compliant, shame!). There's also the issue that the previous configuration that is located properly, isn't migrated by the migrational package. In order to fix this bug, it would require making the snap package follow the XDG base directory specification. To manage notifications about this bug go to: https://bugs.launchpad.net/chromium-browser/+bug/1887804/+subscriptions -- Mailing list: https://launchpad.net/~linux-traipu Post to : linux-traipu@lists.launchpad.net Unsubscribe : https://launchpad.net/~linux-traipu More help : https://help.launchpad.net/ListHelp