# NekR/offline-plugin

Offline plugin  (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)

Repository: https://github.com/NekR/offline-plugin
Canonical: https://ross.abutalabs.com/products/offline-plugin
Language: JavaScript
License: MIT
License Family: permissive
Topics: service-worker, appcache, webpack, serviceworker, pwa, offline, progressive-web-app, storage, plugin, webpack-plugin, offline-first, service-workers, application-cache, javascript, caching
Last push: 2021-11-08T05:42:32+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4009, "days_push": 1759, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4509, forks 288 (observed 2026-08-28T04:08:52.570330+00:00)

## What it is
A webpack plugin that makes web projects offline-ready by generating a ServiceWorker (with AppCache fallback) that caches webpack output assets. It integrates via webpack.config and a small client-side runtime.

## Use cases
- make a webpack app work offline
- add a service worker to cache build assets
- build a progressive web app with app-shell caching
- cache webpack output for offline-first experience
- add appcache fallback for older browsers

## When to choose
- you have a webpack-based project and want offline support with minimal setup
- you need ServiceWorker caching with automatic asset precaching

## When to avoid
- you use Vite, Rollup, or a bundler other than webpack
- you need fine-grained runtime caching strategies (consider Workbox)
- you need actively maintained tooling - the project is in maintenance mode

## Facets
- artifact type: plugin
- maturity: maintenance
- function: caching, plugin-system, build-tool
- domain: web-development, frontend, developer-tools
- platform: -
- tags: webpack-plugin, service-worker, appcache, pwa, offline-first, progressive-web-app, nodejs, web-server

## Member repositories
- NekR/offline-plugin (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:52.570330+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:21.192438+00:00, confidence not recorded.
  - readme: https://github.com/NekR/offline-plugin (fetched 2026-08-28T04:08:52.570330+00:00, sha 94e1c2b3df63)
  - registry_npm: https://registry.npmjs.org/offline-plugin (fetched 2026-08-29T09:06:34.466989+00:00, sha 1ad430539929)
- Data as of 2026-08-30T08:39:29.467469+00:00.
