Skip to content

Backend caching reference #567

Closed
Closed

Description

@codebestia

Write apps/backend/docs/concepts-caching.md for lib/conversationCache.ts and the Redis cache keys in lib/redis.ts: what is cached, the key format, the TTL, and every path that invalidates it.

Acceptance criteria:

  • Documents each cache key, its shape, TTL and payload
  • Lists every call site of invalidateConversationCaches and the event that triggers it
  • Explains the degraded behaviour when Redis is unavailable — the cache is an optimisation, not a correctness dependency
  • Documents the per-device scoping hazard: a conversation preview is device-specific, so a cache key that omitted the device would leak the wrong ciphertext to the wrong device

Activity

  1. Awwal-dev34 commented on Aug 29, 2026

    @Awwal-dev34

    @Awwal-dev34 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer, I’m interested in working on this issue. I have experience with similar tasks and can begin immediately.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Awwal-dev34 to this issue.

  2. blizzj commented on Aug 29, 2026

    @blizzj

    @blizzj has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Hi Maintainer,
    I’d really appreciate the opportunity to work on this issue. Having reviewed the acceptance criteria, I’m confident that I can submit a PR after being assigned.
    Please kindly assign this issue to me.
    Thank you!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @blizzj to this issue.

  3. AdaBliss commented on Aug 30, 2026

    @AdaBliss

    @AdaBliss has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I’d like to take this issue on. I’ll review the current implementation and relevant project guidelines first, then implement a maintainable solution with tests covering the expected behavior and edge cases

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @AdaBliss to this issue.

  4. drips-wave commented on Aug 30, 2026

    @drips-wave

    Congratulations, @AdaBliss! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @AdaBliss: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. github-actions commented on Aug 31, 2026

    @github-actions

    Closed by #600, merged into dev.

  6. drips-wave commented on Aug 31, 2026

    @drips-wave

    This issue has been completed by @AdaBliss as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @AdaBliss: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

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 programbackenddocumentationImprovements or additions to documentation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions