Update the Pushpad service worker to the latest version

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. Continue reading “Update the Pushpad service worker to the latest version”

Update the service worker and the scripts imported with importScripts

If you change the Javascript code of a service worker, the browser may not  apply the update immediately (as we have already discussed).

In order for the update to take effect you need to:

Continue reading “Update the service worker and the scripts imported with importScripts”

Service worker: importScripts never updates scripts

Pushpad is a service for web push notifications. In order to add push notifications to their websites, our customers need to install the service worker that we provide on their websites.

Initially we just asked customers to copy and paste the whole content of the service worker. However this meant that for every update we made to the script, our customers had to take action.

Then we discovered importScripts Continue reading “Service worker: importScripts never updates scripts”