-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different content in incognito mode versus PWA #79
Comments
Yes, this is indeed an issue with workbox, as investigated by @jeffposnick in GoogleChrome/workbox#691. I now commented out the code in question, which should fix it for now. Let me know if you're still seeing the behaviour after two reloads. |
I'm not sure what you commented out, but if you try switching from |
@jeffposnick sadly I don't think so, as that would mean that a person coming back to the app a few days later will see old stuff, no? Or does staleWhileRevalidate honor the cacheExpiration? |
So even when GoogleChrome/workbox#694 is merged they'll see old stuff on the next visit when using
|
I think I'll do networkFirst instead for now, to keep it fresh and only handle the offline use-case. Thanks for the pointers though, might play around with boradcastCacheUpdate! |
Maybe a service worker caching issue?
Incognito mode (top story: "Sean Spicer resigns…"):
PWA (top story: "Report that Trump…"):
Video: https://photos.app.goo.gl/SaaDxkYyePbO8jmQ2
The text was updated successfully, but these errors were encountered: