Constructor

BroadcastCacheUpdatePlugin

new BroadcastCacheUpdatePlugin(channelName, options)

Construct a new instance with a specific channelName to broadcast messages on

Parameter

channelName

string

The name that will be used when creating the BroadcastChannel.

options

Object

Values in options have the following properties:

Parameter

headersToCheck

Optional

Array of string

A list of headers that will be used to determine whether the responses differ.

source

Optional

string

An attribution value that indicates where the update originated.