[GH-ISSUE #522] Cache location change option #316

Open
opened 2026-02-28 14:32:06 +03:00 by kerem · 5 comments
Owner

Originally created by @kobiazaria on GitHub (Sep 7, 2024).
Original GitHub issue: https://github.com/jpochyla/psst/issues/522

Describe the solution you'd like
I am using all of my temp files and cache files on HDD's rather than SSD or C disk in my case.

Describe alternatives you've considered
I'd like an option to change the program's cache location rather than default of %APPDATA% folder.

Originally created by @kobiazaria on GitHub (Sep 7, 2024). Original GitHub issue: https://github.com/jpochyla/psst/issues/522 **Describe the solution you'd like** I am using all of my temp files and cache files on HDD's rather than SSD or C disk in my case. **Describe alternatives you've considered** I'd like an option to change the program's cache location rather than default of %APPDATA% folder.
Author
Owner

@SO9010 commented on GitHub (Nov 18, 2024):

Starting to have a look now.

<!-- gh-comment-id:2482710813 --> @SO9010 commented on GitHub (Nov 18, 2024): Starting to have a look now.
Author
Owner

@jacksongoode commented on GitHub (Nov 18, 2024):

I think we could enable this pretty easy, the tricky bit might be making sure the migration works well.

<!-- gh-comment-id:2483814126 --> @jacksongoode commented on GitHub (Nov 18, 2024): I think we could enable this pretty easy, the tricky bit might be making sure the migration works well.
Author
Owner

@SO9010 commented on GitHub (Nov 18, 2024):

Yes I agree I had a bit of time to start trying to implement it earlier, but didn't get far so if you want to start it I'm happy to work on that!

<!-- gh-comment-id:2483883821 --> @SO9010 commented on GitHub (Nov 18, 2024): Yes I agree I had a bit of time to start trying to implement it earlier, but didn't get far so if you want to start it I'm happy to work on that!
Author
Owner

@Self-Perfection commented on GitHub (Nov 26, 2024):

FWIW psst respects $XDG_CACHE_HOME env var.

Thus it is possible to change cache location on GNU/Linux by running it like this:

XDG_CACHE_HOME=/some/dir psst-gui

Unfortunately this approach leads to duplication of fontconfig cache.

Or just symlink the cache to desired location:

mv -v ~/.cache/Psst/ /tmp/psst_cache
ln -sv /tmp/psst_cache/ ~/.cache/Psst

Windows supports symlinks as well as MacOS / Linux, but I do not know how to create them on Windows.

<!-- gh-comment-id:2501962960 --> @Self-Perfection commented on GitHub (Nov 26, 2024): FWIW psst respects $XDG_CACHE_HOME env var. Thus it is possible to change cache location on GNU/Linux by running it like this: ```XDG_CACHE_HOME=/some/dir psst-gui``` Unfortunately this approach leads to duplication of fontconfig cache. Or just symlink the cache to desired location: ``` mv -v ~/.cache/Psst/ /tmp/psst_cache ln -sv /tmp/psst_cache/ ~/.cache/Psst ``` Windows supports symlinks as well as MacOS / Linux, but I do not know how to create them on Windows.
Author
Owner

@SO9010 commented on GitHub (Jan 30, 2025):

@jacksongoode just realised this is a duplicate of #156.

<!-- gh-comment-id:2624262013 --> @SO9010 commented on GitHub (Jan 30, 2025): @jacksongoode just realised this is a duplicate of #156.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#316
No description provided.