Skip to content

feat: skip the /api/1/me call when no session cookie is set - #1190

Merged
ThibaudDauce merged 1 commit into
mainfrom
skip-me-call-for-anonymous-visitors
Aug 25, 2026
Merged

feat: skip the /api/1/me call when no session cookie is set#1190
ThibaudDauce merged 1 commit into
mainfrom
skip-me-call-for-anonymous-visitors

Conversation

@ThibaudDauce

@ThibaudDauce ThibaudDauce commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

GET /api/1/me is the second most used API endpoint because cdata is calling it everytime. Let's just call it for people with a session cookie. About 0,04% of the /api/1/me requests are 200, others are 401…

@ThibaudDauce ThibaudDauce changed the title skip the /api/1/me call when no session cookie is set feat: skip the /api/1/me call when no session cookie is set Aug 24, 2026
@ThibaudDauce
ThibaudDauce requested review from maudetes and nicolaskempf57 and removed request for maudetes August 24, 2026 12:33
@ThibaudDauce
ThibaudDauce merged commit 8ee9237 into main Aug 25, 2026
11 checks passed
@ThibaudDauce
ThibaudDauce deleted the skip-me-call-for-anonymous-visitors branch August 25, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants