workbox-broadcast-update. BroadcastUpdatePlugin
This plugin will automatically broadcast a message whenever a cached response is updated.
Constructor
BroadcastUpdatePlugin
new BroadcastUpdatePlugin(options)
Construct a BroadcastCacheUpdate instance with the passed options and
calls its notifyIfUpdated()
method whenever the plugin's cacheDidUpdate
callback is invoked.
Parameter |
|||||||
---|---|---|---|---|---|---|---|
options |
Optional Object Values in
|