Cache settings #480
Labels
No labels
Blocked
Bug
Documentation
Duplicate
Enhancement
Good first issue
Help wanted
Idea
In progress
Invalid
Major feature set
Packaging
Question
Soon
UI/UX
Upstream
You're dreamin'
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nostr/gossip#480
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As user I'd like to decide when cache files in
~/.local/share/gossip/cache/should be cleaned:In settings the "Database" tab should be renamed in "Storage" (more generic) and the above new cache options may stay together with the current database tab content .
Some cached files are heavily used (your own avatar) and others haven't been used in a long time. But we have no reliable way to distinguish between these cases.
Many people's filesystems don't maintain or support last-accessed times because every read then requires a write. So we cannot reliably ask "only delete files that haven't been accessed recently."
If we delete cached files when they get old, then people will be almost immediately re-download some of those.
Options:
Ok I did option 1 for now. I think option 3 is best, but I'll do it later.
I update to track the changes.
Option 1 done with commit 6451709