P3: No caching strategy for API GET requests #18

Closed
opened 2026-05-13 20:40:04 -05:00 by null · 1 comment
Owner

Severity: P3 — Low

File: src/lib/api.js ~line 5

Problem: GET requests always hit network. No cache-busting or stale-while-revalidate pattern.

Impact: Performance degradation on slow connections.

Fix: Add basic cache headers or SWR pattern for GET requests.

## Severity: P3 — Low **File:** src/lib/api.js ~line 5 **Problem:** GET requests always hit network. No cache-busting or stale-while-revalidate pattern. **Impact:** Performance degradation on slow connections. **Fix:** Add basic cache headers or SWR pattern for GET requests.
null added the
P3 Low
performance
frontend
labels 2026-05-17 14:25:56 -05:00
null closed this issue 2026-05-17 16:10:02 -05:00
Author
Owner

Closed in batch 0.6.1. Already resolved — @tanstack/react-query with staleTime: 5m provides cache-busting, stale-while-revalidate, and background refetching for all GET requests.

Closed in batch 0.6.1. Already resolved — @tanstack/react-query with staleTime: 5m provides cache-busting, stale-while-revalidate, and background refetching for all GET requests.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/Queue-North-Website#18
No description provided.