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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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