Re: [w3c/ServiceWorker] Service Workers are too hard to clean-up (Issue #1695)

sdegutis left a comment (w3c/ServiceWorker#1695)

Service worker feature should be updated to include an automatic expiration, maybe 30 days from the last time it was invoked. This is backwards compatible since users who keep using the site regularly will never see the worker expire. And users who visit every few months will still see the same behavior. And for the case where you want to remove the sw forever but daily users are keeping it alive for themselves, you just have to include sw-remover code for at most a few months maybe? I dunno just an idea.

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

Message ID: <w3c/ServiceWorker/issues/1695/2959047441@github.com>

Received on Tuesday, 10 June 2025 12:41:06 UTC