Hacker News new | ask | show | jobs
by ricardobeat 20 days ago
Why was 'fetchLater' chosen over a reliable way to trigger fetch from 'unload' or a similar event, or inversely, adding a 'sendLater' option to sendBeacon? Feels like a bolted-on API for a very specific use case, when the same thing could be built from better primitives?

It's a bit sad that browsers now have two different, "standard" APIs created entirely for the purpose of user tracking, as if things weren't already bloated enough.

1 comments

These exact questions came up (from Apple) during design review. If you're interested you can read the discussion here: https://github.com/WebKit/standards-positions/issues/85#issu...
Spot-on amazing linking exactly to the relevant discussion.

I’m really glad to see this not evolve into a flame war as well.