Skip to content

Investigate extended lifetime shared workers for sending URL Metric data #2107

@westonruter

Description

@westonruter

Feature Description

There is a new extended lifetime shared workers currently in origin trial in Chrome. It allows for logic to run after a page has unloaded, for up to 30 seconds. This would be an alternative to the current approach implemented in #1893 via #1959 which keeps re-compressing URL Metric data whenever it is changed so that at the moment the page is closed, the pagehide event will be able to send the data without needing to invoke an asynchronous API to compress the data, which then often prevents the data from ever being sent in the beacon.

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions