STEEL
STEEL

Reputation: 10017

Service Worker cached root index.html

I need to remove index.html from Service Worker cache. I have updated code, and removed html files from SW cache.

But old users who visited website before this new build are still loading SW Cached index.html which is not letting new SW to register. Hence page is still loading old index.html on visiting the domain name.

Any way I can resolve this. As of today, 11 Sep. Users are still viewing old index.html even after the new build which has the fix.

enter image description here

Upvotes: 1

Views: 1900

Answers (1)

Alex Kimoto
Alex Kimoto

Reputation: 509

I guess you could also just rename your index.html to index.htm and serve your updated service worker from there.

Upvotes: 2

Related Questions