so I created a MERN Stack app and convert it to PWA, and install it on my Samsung and iPhone to see how it looks. It works perfectly and even test it with Lighthouse on Chrome. The issue is that I have made some changes in some links and when I delete the cache I can see the changes in my computer, but what happen if a client install it, how they will get the changes if they don't know about them.
Please let me know if there is way to push the changes automatically. The site is plitz7.com
I found my solution. I put var cacheName = "anyname-v1.0.0"
on the first line of my worker.js, then, in caches, I added
.open(cacheName)
Every time I make changes on any part of my website I change the version of the cache name and voila!