Re: [w3c/ServiceWorker] Accept-CH frame duplicates fetch events and preloads (Issue #1810)

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1810)

Thank you, @sisidovski, for raising this critical interaction issue between the Client Hint reliability mechanism and the Service Worker lifecycle.

Ideally, to prevent duplicate processing, the Service Worker would only intercept the final request after a restart. However, this is not feasible, as the need to restart is unknown when the initial fetch event is dispatched.

Furthermore, handling Client Hints entirely at the network layer is also not a straightforward solution. Information required for hints related to the viewport or user profile is not directly available to the network layer, making a higher-level processing mechanism necessary.

I look forward to hearing the group's thoughts on how we might best resolve this ambiguity.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1810#issuecomment-3625744974
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1810/3625744974@github.com>

Received on Monday, 8 December 2025 08:55:45 UTC