Displaying 1 to 2 from 2 results

sw-precache-webpack-plugin - Webpack plugin that generates a service worker using sw-precache that will cache webpack's bundles' emitted assets

  •    Javascript

SWPrecacheWebpackPlugin is a webpack plugin for using service workers to cache your external project dependencies. It will generate a service worker file using sw-precache and add it to your build directory. A simple configuration example that will work well in most production environments. Based on the configuration used in create-react-app.

parcel-plugin-sw-cache - 📦 Parcel plugin for caching using a service worker

  •    Javascript

A Parcel plugin to run workbox-build after every build. No configuration options are mandatory, the default configuration wil work just fine. (Creating a service worker to precache all files in the output directory without runtime caching). For the default parameters passed to workbox-build see here (i.e. precaching all html, js, css, jpg and png files).