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
Description
Cache frequently accessed data to reduce API calls and improve CLI responsiveness.
What to cache
Cache strategy
~/.cache/superthread/or XDG cache dirsuth cache clearsuth cache status--no-cacheflag or config optionBenefits