Re: [whatwg/fetch] New Proposal: Fetch retry (Issue #1838)

guoye-zhang left a comment (whatwg/fetch#1838)

For reference, background downloads on iOS use exponential backoff with a few additional customizations:

1. Delay is jittered by 10% to avoid repeated spikes
2. Backoffs are capped at 1 hour
3. In the case of network condition change (e.g. connected to a new Wi-Fi), a retry is immediately attempted and the backoff is reset
4. If the user launches the app that initiated the download, a retry is also immediately attempted

We received feature requests to retry 429 and 5xx responses and respecting the Retry-After header field, but we haven't implemented that yet.

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

Message ID: <whatwg/fetch/issues/1838/3068708167@github.com>

Received on Monday, 14 July 2025 09:53:53 UTC