perf: safe quick wins - gzip, cached auth token, batched counts, faster doc paint
- backend: add compression middleware (excludes SSE) for smaller JSON over the SG tunnel - backend: replace GET /projects and /projects/entities N+1 count loops with grouped project_counts()/entity_counts() RPCs (one round-trip) - frontend: cache the Supabase access token via onAuthStateChange so getAuthHeader no longer awaits getSession() before every request (incl. the chat POST) - frontend: ProjectPage paints Documents as soon as getProject resolves; chats/ reviews load in the background instead of blocking the spinner Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Repository | emileriksenkeev/sydOS |
|---|---|
| Author | emileriksenkeev <emil@keev.co> |
| Authored | |
| Parents | c60b1004 |
| Stats | 7 files changed , +228 , -69 |
| Part of | Performance and perceived-speed polish |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-20c75bf2.md
from inside the repo you want the change in.