Category: Bug · Priority: Medium
Labels: frontend, api, memory
The apiCache module stores API responses in memory but has no time-to-live (TTL) eviction policy. In long-running SPA sessions (common for portfolio monitoring tools), the cache grows indefinitely.
Acceptance Criteria:
- Add a configurable TTL (default 5 minutes for analyze results)
- Implement LRU eviction with a max cache size (e.g. 100 entries)
- Expose a
clearCache() function for manual invalidation
Category: Bug · Priority: Medium
Labels:
frontend,api,memoryThe
apiCachemodule stores API responses in memory but has no time-to-live (TTL) eviction policy. In long-running SPA sessions (common for portfolio monitoring tools), the cache grows indefinitely.Acceptance Criteria:
clearCache()function for manual invalidation