Skip to content

store local cache in XDG_CACHE_HOME #38

@TheJolman

Description

@TheJolman

Having it version controlled in this repo is a bit odd. Cache should be automatically overwritten when it becomes stale.

XDG_CACHE_HOME is usually ~/.cache, so we would be storing our cache at ~/.cache/oss-stas/stats.json or similar. We could use another xdg base dir (see https://wiki.archlinux.org/title/XDG_Base_Directory for more info), but I feel like this one makes the most sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-MEDIUMYou may need to be familiar with the codebase to resolve this issue.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions