Opened 8 years ago
Closed 7 years ago
#1093 closed enhancement (fixed)
Support http_429 in *_cache_use_stale
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | nginx-module | Version: | 1.11.x |
Keywords: | Cc: | ||
uname -a: | |||
nginx -V: | 1.11 |
Description
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 , 8 years ago
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
http://mailman.nginx.org/pipermail/nginx-devel/2016-October/009003.html
http://mailman.nginx.org/pipermail/nginx-devel/2016-October/009004.html