Interview practice question
Speeding up a global login redirect
System Design · Scalability · Intermediate
Every page request first calls your origin to check whether the user is logged in, adding 150 ms for global users. How could you improve it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Use signed tokens verifiable without origin.
- Verify JWT at the CDN edge.
- Edge functions for redirects.
- Cache public pages at edge.
- Origin only for real work.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.