- From: Xiaocheng Hu <notifications@github.com>
- Date: Thu, 19 Jun 2025 06:32:01 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 19 June 2025 13:32:05 UTC
xiaochengh left a comment (w3ctag/design-reviews#1089) Hi @domenic, thanks for pointing out the hidden resource cost for preparing a shared worker to have an extended lifetime. There is a concern we previously raised that isn't addressed yet: What if developers set `extendedLifetime: true` to every shared worker just to be "safe" (as it won't break any app) without realizing the hidden resource cost of doing so? Since using a shared worker causes so many detailed issues (like mismatching options, reconnection, etc), should we instead introduce a new type of worker (not a worklet as already discussed in the explainer) that is designed for this use case? -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/1089#issuecomment-2988113325 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/1089/2988113325@github.com>
Received on Thursday, 19 June 2025 13:32:05 UTC