You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
547 B

4 years ago
/*
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.
*/
import '../_version.mjs';
export const CACHE_UPDATED_MESSAGE_TYPE = 'CACHE_UPDATED';
export const CACHE_UPDATED_MESSAGE_META = 'workbox-broadcast-update';
export const DEFAULT_BROADCAST_CHANNEL_NAME = 'workbox';
export const DEFAULT_DEFER_NOTIFICATION_TIMEOUT = 10000;
export const DEFAULT_HEADERS_TO_CHECK = [
'content-length',
'etag',
'last-modified',
];