DEV Community

Cover image for On PWA Update Patterns

On PWA Update Patterns

Pascal Schilp on September 11, 2020

On PWA Update Patterns The year is 2020. Service workers are still rocket science. Humanity still hasn't nailed service worker updates. ...
Collapse
 
robertomaurizzi profile image
Roberto Maurizzi

You just gave me the idea to trigger SW updates only when we change a PWA-specific change log file (currently I'm using the git hash and it'll trigger an update for changes 100% unrelated to what's cached by the service worker...)

Collapse
 
jeffposnick profile image
Jeff Posnick

Great write-up!

Collapse
 
thepassle profile image
Pascal Schilp

Thanks Jeff!

Collapse
 
ben profile image
Ben Halpern

Seconded. This clarifies a lot for me.

Thread Thread
 
thepassle profile image
Pascal Schilp

Thanks man, happy to hear that πŸ™‚

Collapse
 
kr05 profile image
kr05

Awesome article! I can confirm service workers are a pain to work with, I have three years of headaches to back me up. Thanks for this approachable explanation, I've got something to try out today!