Cache files do not belong in ~/.config on Linux and should instead be in $XDG_CACHE_HOME

Steps to reproduce

By default Obsidian puts large cache directories in ~/.config

$ du -sh ~/.config/obsidian/*Cache*
75M	  ~/.config/obsidian/Cache
40M	  ~/.config/obsidian/Code Cache
200K  ~/.config/obsidian/DawnGraphiteCache
200K  ~/.config/obsidian/DawnWebGPUCache
2M    ~/.config/obsidian/GPUCache

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Cache files do not belong in .config on Linux. A common workflow is to back up all .config files, and with the current setup Obsidian is clogging up backups with cache files.
The best place for cache files is in $XDG_CACHE_HOME/obsidian

Environment

SYSTEM INFO:
Obsidian version: 1.12.7
Installer version: 1.12.7
Operating system: #1 SMP PREEMPT_DYNAMIC Fri, 15 May 2026 16:45:15 +0000 7.0.8-arch1-1
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 2
Plugins enabled: 2
1: Google Drive Sync v2.2.2
2: Importer v1.8.3
RECOMMENDATIONS:
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

I don’t consider this a bug. Please, create a feature request for it.