Opened 7 years ago
Closed 6 years ago
#1093 closed enhancement (fixed)
Support http_429 in *_cache_use_stale
|Reported by:||Owned by:|
Use case: we use nginx with fastcgi_cache to cache responses from a backend application. Clients can request nginx-cached endpoints without limits, but the backend performs rate limiting to protect itself by returning a HTTP 429 if the limit is exceeded.
It would be very useful to allow serving a stale cache entry when the upstream returns a 429, since the client would probably prefer a stale reply over no reply at all.
Change History (3)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Fixed in 3ef4cadfad7f, fa56ab75cffc (nginx-1.11.13).
comment:3 by , 6 years ago
|Status:||new → closed|
Note: See TracTickets for help on using tickets.