This plugin is intended to provide an offline experience for webpack projects. It uses ServiceWorker, and AppCache as a fallback under the hood. Simply include this plugin in your webpack.config, and the accompanying runtime in your client script, and your project will become offline ready by caching all (or some) of the webpack output assets.

Features

  • All options are optional
  • Enables your application to work with the app shell model
  • Set to the HTML file you want to return for all navigation requests
  • Specify additional (external to the build process) URLs to be cached
  • Enable automatic updates of the ServiceWorker and AppCache
  • Allows you to adjust what and how to cache the assets

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow offline-plugin for webpack

offline-plugin for webpack Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of offline-plugin for webpack!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Browser Extensions and Plugins

Registered

2021-12-08