diff --git a/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs b/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs index e10c546386..250c3c778e 100644 --- a/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs +++ b/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs @@ -24,6 +24,8 @@ const MAX_AGE_REGEX = /max-age\s*=\s*(\d*)/g; * to max-age=0 or no-cache. * * @param {string} cacheControlHeader + * + * @private */ function showWarning(cacheControlHeader) { const docsUrl = 'https://developers.google.com/web/tools/workbox/guides/service-worker-checklist#cache-control_of_your_service_worker_file'; @@ -38,6 +40,8 @@ function showWarning(cacheControlHeader) { * Checks for cache-control header on SW file and * warns the developer if it exists with a value * other than max-age=0 or no-cache. + * + * @private */ async function checkSWFileCacheHeaders() { try {