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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
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