Configurable Graph Cache Directory

As per Logseq docs on GitHub:

On desktop, the graph cache directory ~/.logseq/graphs/ has moved to ~/logseq/graphs. See DB Graph Directories for how they are used for DB graphs.

I’d like to request that the graph cache directory be made configurable. As a Linux user, having applications create non-hidden folders directly in ~/ makes the file system feel messy. Following the XDG Base Directory Specification (e.g., using ~/.cache or ~/.local/share ) or allowing us to define a custom path would solve this.

Seconded. I expect a visible folder in ~/ to be something the user actually wants to see - it should contain files the user would open with a file browser, like ~/Documents or ~/Downloads do. ~/logseq is not like that. On macOS, such a folder should be created at ~/Library/Application Support/com.logseq.Logseq. ~/.local/share/logseq would also be fine.