Re: [whatwg/fetch] Fetch retry (draft) (PR #1923)

issacgerges left a comment (whatwg/fetch#1923)

👋🏼 Know this is early days but some things I think would be valuable here
- Ability to specify jitter, and maybe a maxDelay clamp (e.g. retry 4×, but stop growing the delay past some ceiling)
- Customizable or standardized retry conditions
   - I could imagine folks will want to retry or not based on specific status code (429/503/5xx) not sure if this is consumer specific or can just be generic
- Honoring `Retry-After` so client backoff doesn't fight the backend
- A way to observe retries (I can imagine its a useful alertable metric)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1923#issuecomment-4520472727
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1923/c4520472727@github.com>

Received on Friday, 22 May 2026 16:15:49 UTC