{"id":16993758,"url":"https://github.com/rwv/workbox-mirror-precache-plugin","last_synced_at":"2026-02-15T19:07:16.187Z","repository":{"id":211058461,"uuid":"728091721","full_name":"rwv/workbox-mirror-precache-plugin","owner":"rwv","description":"📦 A workbox plugin that fetch precache files from various mirrors.","archived":false,"fork":false,"pushed_at":"2025-01-13T19:27:55.000Z","size":46,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T22:47:53.544Z","etag":null,"topics":["precache","service-worker","workbox"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/workbox-mirror-precache-plugin","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rwv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-06T08:00:26.000Z","updated_at":"2024-11-13T04:29:57.000Z","dependencies_parsed_at":"2023-12-06T09:27:43.415Z","dependency_job_id":"1e4bd817-710f-48b4-9f6b-0608c43c5cca","html_url":"https://github.com/rwv/workbox-mirror-precache-plugin","commit_stats":null,"previous_names":["rwv/workbox-mirror-precache-plugin"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rwv/workbox-mirror-precache-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwv%2Fworkbox-mirror-precache-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwv%2Fworkbox-mirror-precache-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwv%2Fworkbox-mirror-precache-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwv%2Fworkbox-mirror-precache-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwv","download_url":"https://codeload.github.com/rwv/workbox-mirror-precache-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwv%2Fworkbox-mirror-precache-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29487403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["precache","service-worker","workbox"],"created_at":"2024-10-14T03:43:58.012Z","updated_at":"2026-02-15T19:07:16.152Z","avatar_url":"https://github.com/rwv.png","language":"TypeScript","readme":"# 📦 workbox-mirror-precache-plugin\nA workbox plugin that fetch precache files from various mirrors.\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/rwv/workbox-mirror-precache-plugin/build.yml)](https://github.com/rwv/workbox-mirror-precache-plugin/actions/workflows/build.yml)\n[![npm](https://img.shields.io/npm/v/workbox-mirror-precache-plugin)](https://www.npmjs.com/package/workbox-mirror-precache-plugin)\n![NPM](https://img.shields.io/npm/l/workbox-mirror-precache-plugin)\n\n## Usage\n\n``` bash\nnpm install workbox-mirror-precache-plugin\n```\n\n``` ts\nimport { addPlugins } from \"workbox-precaching\";\nimport { cacheNames } from \"workbox-core\";\nimport { MirrorPrecachePlugin } from \"workbox-mirror-precache-plugin\";\n\nconst cacheName = cacheNames.precache;\nconst entries = self.__WB_MANIFEST;\nconst mirrors = [\n  \"https://cdn.example.com\",\n];\n\naddPlugins([\n  new MirrorPrecachePlugin({\n    entries,\n    cacheName,\n    prefixs: [self.origin, ...mirrors],\n  }),\n]);\nprecacheAndRoute(entries);\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwv%2Fworkbox-mirror-precache-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwv%2Fworkbox-mirror-precache-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwv%2Fworkbox-mirror-precache-plugin/lists"}