Skip to content

Query Result Caching Layer #1288

Description

@DokaIzk

Title: feat: implement caching for frequently accessed queries

Labels: performance api
Complexity: medium

Description:
Add caching layer for expensive queries using Redis:

  • Cache GET /contracts endpoint (30s TTL)
  • Cache GraphQL queries based on variables (60s TTL)
  • Invalidate cache on mutations
  • Support cache busting headers

Acceptance Criteria:

  • Query results cached in Redis
  • Cache keys include variables
  • Cache invalidated on writes
  • Cache stats endpoint
  • Tests verify cache behavior

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions