We built a PWA from scratch – This is what we learned

Avatar of Chris Coyier
Chris Coyier on

Take your JavaScript to the next level at Frontend Masters.

I hadn’t considered the fact that if you’re fingerprinting your assets (e.g. style.987987090897.css) to take advantage of browser cache, you’ll need to update your Service Worker every time you do that. But I guess you’ve got a build step anyway, so it can be updated in both places:

… we used a NodeJS module called Stacify to automatically create new version numbers in all the places when a file is changed.

Direct Link →