workbox.cacheableResponse. Plugin
A class implementing the cacheWillUpdate
lifecycle callback. This makes it easier to add in cacheability checks to requests made via Workbox's built-in strategies.
Constructor
Plugin
new Plugin(config)
To construct a new cacheable response Plugin instance you must provide at least one of the config
properties.
If both statuses
and headers
are specified, then both conditions must be met for the Response
to be considered cacheable.
Parameter |
|||||||
---|---|---|---|---|---|---|---|
config |
Object Values in
|