sw-precache
sw-precache copied to clipboard
[Deprecated] A node module to generate service worker code that will precache specific resources so they work offline.
The documentation doesn't mention a way to change the name of the generated file. It does mention gulp, but I am using Angular 4's angular-cli to generate my assets and...
There's no JSDoc to speak of in the current state of the library. Longer-term, it would be good to move to a process that auto-generates documentation based on JSDoc (to...
It seems that sw-precache does not handle being out of cache space. This is very easy to do in chrome incognito mode as the quota is only 100mb. I'm not...
I am using angular 1 and I have bower components in the project root. There is app folder that has the application content. If I register service-worker in app folder,...
I've got a few patches I'm trying to write that relate to using sw-precache and being intelligent about which strings to cache along with other static resources. For example, just...
``` Uncaught (in promise) TypeError: Cannot read property 'keys' of undefined at setOfCachedUrls (service-worker.js:144) at service-worker.js:156 at ``` I'm using the following config: ``` module.exports = { navigateFallback: '/index.html', stripPrefix:...
Whenever I give a new build the service-worker not able to find the new files, user has to manually clear the browser cache to be able to work. Kindly help....
`dynamicUrlToDependencies` important concept for any site that includes server-side rendering and which uses partial templates/includes to produce a final HTML resource. However, it's importance and use cases aren't explained as...
I'm playing with `sw-precache` via the Webpack plugin, and am looking for thoughts about how to handle a CDN with multiple subdomains. Current setup: ``` js new SWPrecacheWebpackPlugin({ cacheId: 'my-cache',...
Hi @jeffposnick! You were helping me out on StackOverflow with some SW questions, and figured this might be a better location for some longform discussion. I apologize in advanced if...