Obsolete polyfill for the ServiceWorker Cache API, specifically adding support for the `addAll` method in older browsers. Version 4.0.0 was the final release, and the project has been deprecated since 2015 as Chrome 46+ and Opera 33+ natively support `addAll`. No longer maintained; included only for legacy compatibility in applications targeting very old ServiceWorker environments.
npm install serviceworker-cache-polyfillNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of the polyfill in a ServiceWorker to cache and serve responses.
Remove polyfill dependency if targeting modern browsers that support the full Cache API.
Verify browser support for basic Cache API before relying on this polyfill.
Only include the script in ServiceWorker code.
Ensure the code runs inside a ServiceWorker script and that the browser supports ServiceWorkers.
Run importScripts('serviceworker-cache-polyfill.js') earlier in the ServiceWorker script.No dependency data recorded yet.