Skip to content

Implement SDK caching layer with configurable TTL for read-only queries #175

@p3ris0n

Description

@p3ris0n

Summary

Add an in-memory caching layer to the SDK for read-only contract queries to reduce RPC calls and improve dApp responsiveness.

Requirements

  • Create sdk/src/cache.ts with CacheManager
  • Implement LRU eviction with configurable TTL
  • Automatic cache invalidation after write operations
  • Support cache warming
  • Add persistent cache via localStorage
  • Cache hit/miss metrics

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requesthigh-complexityHigh complexity - significant effort requiredperformancePerformance optimizationsdkTypeScript SDK improvements

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions