googlecodelabs / your-first-pwapp

Code associated with Your First Progressive Web App codelab
https://g.co/codelabs/pwa
Apache License 2.0
638 stars 555 forks source link

Better 'why' for updating cacheName #30

Closed Meggin closed 5 years ago

Meggin commented 8 years ago

Let's describe a bit better when the cacheName gets changed, and why that's important, and what's going on in the background if you don't update the cacheName.

pamo commented 7 years ago

+1, @Meggin are you referring to Step 6 on Beware of edge cases? I found the following line a bit confusing and had @petele explain it to me in better detail during the PWA Roadshow code lab.

Cache depends on updating the cache key for every change

petele commented 5 years ago

Hi!

Thanks for the feedback. I've rewritten the codelab from scratch and believe I have fixed this issue. The code has been updated, and the new guide is now live.

If you find any issues with the new codelab, please let us know!

Thanks!