YW
Yoav Weiss
@yoavweiss.bsky.social
On a mission to make the web faster, one perf feature at a time. Web platform @ Shopify. WebPerfWG and WICG co-chair. RICG4life. Opinions are my own, etc.
235 followers127 following25 posts
If you're collecting data from the field, you should *really* pay attention to the upcoming `fetchLater` API (née PendingBeacon) https://www.speedkit.com/blog/unload-beacon-reliability-benchmarking-strategies-for-minimal-data-loss/ Great research by SpeedKit folks!!
Unload Beacon Reliability: Benchmarking Strategies for Minimal Data Loss | Speed Kit
To minimize data loss, combine visibilitychange and pagehide events, to achieve a reliability rate of 91%. Do not use unload and beforeunload events.
YW
Yoav Weiss
@yoavweiss.bsky.social
On a mission to make the web faster, one perf feature at a time. Web platform @ Shopify. WebPerfWG and WICG co-chair. RICG4life. Opinions are my own, etc.
235 followers127 following25 posts