Mozilla shares fix for Twitter not working on Firefox
bleepingcomputer.com
bleepingcomputer.com
Yes, disabling a cache can improve functionality if you have coherency bugs.
Anecdotally I have heard service workers can be misused to do crypto-mining in people's browsers. Not that I believe Twitter would try that, but more dodgy sites.
There's an internal webpage in most browsers that shows you what service workers you have installed (Firefox: "about:serviceworkers"). The answer is a lot, because every web page you visit can install one without your permission. They seem like small javascript applets, and I'm not sure under what conditions they are allowed to run. I am afraid they could be allowed to run even when you are not visiting the page, and since I have no interest in PWAs or notifications I just disabled service workers entirely. You can do that in about:config.
(1) This happens in desktop Firefox.
(2) A hard-reload of the page causes the Twitter page to load correctly.
(3) The technique suggested in the article actually works. Note that there may be multiple entries in Firefox's service workers list for Twitter's regular site, mobile site, etc. I had a total of three.
I'm also curious why, given this seems to be triggered by Firefox reacting suboptimally to a service worker error, Twitter haven't done something to fix their service worker. Is Firefox's usage really that low now? Sad times.