silviolleite/django-pwa

"Not Found: /serviceworker.js" err after uninstalling

Closed this issue · 3 comments

After switching to a branch without the this module included and uninstalling it from pip, I am still getting a "Not Found: /serviceworker.js" error on "GET /serviceworker.js HTTP/1.1 404". Not sure where this is getting called from anymore or how to get past it, seems like it must have been caused by this module somehow though. Still want to use this, just having to switch back an forth before it is fully integrated.

Thanks

Hello @pnaylor, I think it is a browser cache. Did you clean it?
If not, try use the shortcut Ctrl + F5 in your opened browser with your site to clean the cache.

For a complete solution you need to delete the Cache Storage called "django-pwa........." in your browser.

If you are using the Mozilla Firefox you can unregister the 'serviceworkers' opening a new browser tab and puting this in url address about:serviceworkers.

Thank you @silviolleite, I had already disabled the cache from the dev tool but unregistering the worker worked!