offline-plugin
offline-plugin copied to clipboard
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Possible API: ``` js new OfflinePlugin({ cacheMaps: [ { matchPath: [/^\/\w+\.html$/], to: '/app-shell.html', // possible values 'navigate', 'cross-origin', 'normal' // special case: `requestType: 'any'`? requestType: ['navigate'] }, { matchUrl: function(url)...
I implemented Offline-Plugin to my .NET Core based React Single Page website. Here is the config: ``` new OfflinePlugin({ externals: [ '/android-chrome-192x192.png', '/android-chrome-256x256.png', '/android-chrome-512x512.png', '/apple-touch-icon.png', '/favicon.ico', '/favicon-16x16.png', '/favicon-32x32.png', '/mstile-150x150.png', '/safari-pinned-tab.svg',...
**Is your feature request related to a problem? Please describe.** This is likely a very unique case to us, however I think we need the ability to generate a dynamic...
Then we can write `../styles/app.css` in `caches.main`
Hi, I'm currently developing a website that runs on a virtual host on my local machine without HTTPS. Google Chrome treats my virtual host as unsecure and won't install a...
Is it possible to have different response strategies per regex? Like i want my assets to be cache-first. But for calls to the api needs to be up to date...
Hello, My config currently looks like this: ``` externals: ['/'], ServiceWorker: { scope: '/' }, scope: '/', ``` Where my purpose was to cache the html file returned by the...
Hello, I'm making an app in `Vue.js` with the `vue router`. I implemented the `offline-plugin` and it works fine. But is there any option to cache the nested routes? For...
A majority of all issues opened is (naturally) regarding either including or excluding assets. The questions boil down to: 1. An asset is being cached, and I want it exlcuded...
I have a small Express.js app serving my SPA. It routes all requests to my index.html which serves the SPA javascript. The only exception is a route `/special/*` which express...