Skip to content

Add optional client-side caching that honors SEP-2549 ttlMs/cacheScope #1646

Description

@tarekgh

Following up on PR #1623 (SEP-2549 caching hints).

SEP-2549 lets servers advertise a non-zero ttlMs (and a cacheScope of public/private) on list/read results. The client currently surfaces these values (via the raw overloads) but does not act on them.

We could add optional client-side caching that:

  • Caches list/read results keyed by request and serves them until the advertised TTL expires.
  • Honors cacheScope semantics (private results not shared beyond the current session/consumer; public potentially shareable).
  • Handles invalidation, concurrency/thread-safety, and interaction with the existing tool cache.

This is effectively a new opt-in subsystem and should be designed/reviewed separately from the wire-format conformance work in PR #1623.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions