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

Avatar of Chris Coyier
Chris Coyier on

Let’s put those CSS skills to work! Claim $50 in free hosting credit on Cloudways with code CSSTRICKS.

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 →