Skip to content

Cap API client response cache with LRU eviction #1161

Description

@RUKAYAT-CODER

Background

The in-memory response cache grows without bound. Add an LRU cap with a configurable size.

Files to modify (2-3)

src/lib/api.ts
src/constants/app.constants.ts

Acceptance Criteria

Implemented across the listed files

Unit/integration tests added or updated and passing

No regression; follows project coding standards

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions