Skip to content

Comments

feat: Add metadata cache with TTL and manual refresh (#70)#77

Merged
Haroldwonder merged 4 commits intoHaroldwonder:mainfrom
Lex-Studios:feature/metadata-cache-issue-70
Feb 23, 2026
Merged

feat: Add metadata cache with TTL and manual refresh (#70)#77
Haroldwonder merged 4 commits intoHaroldwonder:mainfrom
Lex-Studios:feature/metadata-cache-issue-70

Conversation

@Lex-Studios
Copy link
Contributor

Add Metadata Cache (#70)

TTL-based cache for TOML/capabilities with manual refresh.

API:

  • cache_metadata/capabilities(anchor, data, ttl)
  • get_cached_metadata/capabilities(anchor)
  • refresh_metadata/capabilities_cache(anchor)

Closes #70

Lex-Studios and others added 4 commits February 23, 2026 13:10
- Implement TTL-based cache for metadata and capabilities
- Add manual refresh (invalidation) methods
- Separate caches for metadata and TOML capabilities
- Add comprehensive tests and documentation
- Add CacheExpired and CacheNotFound error codes

Closes Haroldwonder#70
@Haroldwonder Haroldwonder merged commit a07c30c into Haroldwonder:main Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce Anchor Metadata Cache

2 participants