Jeff Posnick

Results 297 comments of Jeff Posnick
trafficstars

Apologies; there are no updates re: a 1.0 rewrite at this time.

Just chiming in here from a service worker perspective: - The `CacheFirst` strategy in Workbox will not update the cache "in the background" if there is a cache hit. In...

(This is a bit of a coincidence, because 9 years ago[!] I wrote https://webmasters.googleblog.com/2011/03/tag-your-tv-shows.html while a member of Google's Video Search DevRel team, and spent a decent amount of time...

(Summarizing some thoughts from https://twitter.com/jeffposnick/status/1207784110732795910) The "source of truth" that made the most sense to me was the Cache Storage API (or IDB, if you use that for your offline...

With the understood caveats that the current example categories are hand-wavy, I think it makes senses to add `'image'` as one of the categories that we call out as being...

Okay, it's good to know that the SW's `fetch` event handler is *supposed* to be triggered when checking icon validity. You can reproduce the failure by adding https://5de91c72daa70d9982fb68e9--stoic-kepler-c046f7.netlify.com/ to your...

I can confirm that the icon check will trigger the service worker's `fetch` handler when the call to `index.add()` happens outside of the service worker. In https://5de92abbb4ad155265985054--stoic-kepler-c046f7.netlify.com/ I've moved the...

I'm thinking of trying out something based on https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai It won't have the same cross-browser capabilities that you get from using https://github.com/GoogleChrome/sw-testing-helpers, but theoretically our cross-browser testing story should already...

Actually, nope, Karma is only for unit testing, not end-to-end tests.

A few things: Your service worker is currently hosted at `https://jobijoy.com/build/sw.js`, meaning it can't control your homepage, which is at `https://jobijoy.com/maps`. You should host your service worker file at the...