Skip to content

Add caching for improved performance #10

@steveclarke

Description

@steveclarke

Description

Cache frequently accessed data to reduce API calls and improve CLI responsiveness.

What to cache

  • Workspace list (for name resolution)
  • Space list per workspace
  • Board list per space
  • User list per workspace (for name resolution)
  • Tag list per workspace

Cache strategy

  • File-based cache in ~/.cache/superthread/ or XDG cache dir
  • TTL-based expiration (e.g., 5 minutes for lists)
  • Manual cache clear: suth cache clear
  • Cache status: suth cache status
  • Disable with --no-cache flag or config option

Benefits

  • Faster name-to-ID resolution
  • Reduced API rate limit usage
  • Better offline-ish experience for read operations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions