UNPKG

@serwist/broadcast-update

Version:

A module that uses the Broadcast Channel API to announce when a cached response has updated.

16 lines (13 loc) 463 B
/* Copyright 2018 Google LLC Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT. */ export { BroadcastCacheUpdate, BroadcastUpdatePlugin, responsesAreSame, BROADCAST_UPDATE_DEFAULT_HEADERS as defaultHeadersToCheck, } from "serwist"; export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage } from "serwist";