offline-plugin icon indicating copy to clipboard operation
offline-plugin copied to clipboard

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

Results 103 offline-plugin issues
Sort by recently updated
recently updated
newest added

In watch mode, on a second and following rebuilds `offline-plugin` reports it cannot find `index.html` or in output assets. `index.html` is being added with `html-webpack-plugin`. Same happens with assets added...

This includes live reload and Hot Module Replacement. In those cases `offline-plugin`'s cache functions should do nothing, i.e. not handle `fetch` event. Reasons: someone may want to test push notifications...

enhancement
help wanted
PR-welcome

Hello, really nice plugin! I'm doing a server side render of blog posts and was hoping to cache the server side render as externals, but your documentation says I cannot...

Hi, I'm using react-boilerplate and have used https://zach.codes/handling-client-side-app-updates-with-service-workers/ as a reference for getting automatic updates running on a SPA. The plugin is configured as: ``` new OfflinePlugin({ ... updateStrategy: 'changed',...

According to this MDN [docs page](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API#Download_install_and_activate), specifically this paragraph: > If there is an existing service worker available, the new version is installed in the background, but not yet activated...

enhancement
important

Steps to repro: git clone https://github.com/nolanlawson/test-offline-plugin-sourcemap.git cd test-offline-plugin-sourcemap yarn yarn build Notice that `devtool: 'source-map'` and `UglifyJsPlugin` are enabled, but `sw.js` doesn't have a sourcemap file: ``` build/static/js/main.7a5932ac.js build/static/js/main.7a5932ac.js.map build/sw.js...

OS: Windows 10 Pro Webpack: 3.10.0 So I'm running an SPA, which according to Lighthouse (chrome PWA plugin), is not caching any assets, either internal or external. When I run...

Thanks for the great plugin. I'm using offline-plugin for a react app. It's an **isomorphic app**. My problem is, all my network calls are served from the serviceworker. Let me...

See this issues as an example of possible misuse of options. https://github.com/NekR/offline-plugin/issues/340

enhancement

I don't think this is an issue. It's more like a scenario that I'm wondering if it can be fixed with some proper settings. The sequence is like this: -...