- From: Jake Archibald <notifications@github.com>
- Date: Thu, 21 Jan 2016 06:56:20 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 21 January 2016 14:56:58 UTC
> You will still end up with continuous updates running once every 1 second I'm not following this. Assuming the browser has an active worker that contains only `self.registration.update();` 1. SW spins up for whatever reason 1. Update triggered 1. SW fetched, and it's byte different! `self.registration.update(); // v2` 1. Installing worker spun up 1. Update triggered 1. SW fetched, byte-identical, ignored 1. Installing worker activates Sure, you're going to get a fetch for your SW pretty frequently, but this isn't much worse than putting `fetch('/whatever')` at the top of your SW. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/800#issuecomment-173595491
Received on Thursday, 21 January 2016 14:56:58 UTC