Skip to content

Cache scoped executor / catalog reads with short TTL #6

Description

@amondnet

Sub-task of #3 (Fix C).

createExecutor is rebuilt per request (packages/core/api/src/server/scoped-executor.ts:253; a TTL-cache TODO is noted in the code).

Tasks:

  • Cache scoped executor / catalog + policy reads per (org, subject) with a few-second TTL.
  • Ensure tenant isolation in the cache key.
  • Largely amortizes fan-out + repeated navigation (partly subsumed by Fix B for first paint).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Refactor.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions