Caching & Limits
Self-test
Check your understanding
Self-test7 questions
—/7
Who decides how long a response is cached in this module's config?
What did proxy_cache_lock and background update do during the stampede test?
Why were stale responses slow in the earlier run and instant in the later one?
Why is it dangerous to cache /api/private/me, and what stops Nginx from doing it?
What does rate=20r/s burst=40 nodelay allow, and what happened to 100 simultaneous requests?
How did the login limit treat 8 simultaneous attempts?
- Design question
Design rate limits for a public API with API keys, behind a CDN.