devtools-tips icon indicating copy to clipboard operation
devtools-tips copied to clipboard

Service worker issue?

Open pankajparashar opened this issue 3 years ago • 1 comments

My primary browser consistently shows an outdated version of devtools-tips. I know this because if I open the site in Incognito, it always has one more tip than my primary browser. Is this a service worker issue?

image

pankajparashar avatar Aug 13 '22 04:08 pankajparashar

Yes, that's probably a service worker issue. I implemented a background periodic sync as well, which runs once a day, so that could be related too. But I also remember making some changes recently where the worker would first try the network. So I'll have to check the code again. Thanks for filing!

captainbrosset avatar Aug 17 '22 12:08 captainbrosset

I removed the entire cache-first strategy since that's not really suited for this type of app. I still have the periodicsync, but the problem should now go away (after a couple of reloads, for the browser to pick up the new SW version).

captainbrosset avatar Jan 05 '23 13:01 captainbrosset