With the upcoming Firefox 133 release `fetch` gets a new baseline-supported parameter — `keepalive`.
Requests with the set `keepalive` option won't be canceled when the page unloads or is closed. 💪
With the upcoming Firefox 133 release `fetch` gets a new baseline-supported parameter — `keepalive`. Requests with the set `keepalive` option won't be canceled when the page unloads or is closed. 💪 6 comments
@alexwilson That's a great question that I don't have the answer to. 😅 Why would the number of connections matter? I could only think of sending a few tracking beacons on session exit? @stefan It's a very cool feature — a part of my mind immediately started wondering what happens if you queue up a large number of these on the page unload event... Added a note to my todo list to read the spec. 😅 |
@stefan very nice. And about time FF got this in.