In the last months we have rolled out new notification features and other performance improvements.
If you use Pushpad Pro, in order to receive the update, you should make a small change to your service worker. Please find the following line:
importScripts('https://pushpad.xyz/service-worker.js');
And add an arbitrary query string at the end of the URL. For example, replace the above line with this line:
importScripts('https://pushpad.xyz/service-worker.js?20170811');
This will force the service worker update (within 24 hours). If you want to speed up the update, make sure to add the HTTP header "Cache-Control: no-cache" when you serve your service worker. For example, if you use nginx, you can use:
location = /your-service-worker-path.js {
add\_header Cache-Control "no-cache";
}
Unfortunately, at the moment, this is the only way to update the service workers. This will probably change with future browser versions, but now there aren't any alternatives. If you want more details, you can read this article.