Forum Discussion
High CPU usage because of service worker (sw.js)
- Apr 09, 2020
Since the new update (Version 83.0.474.0 (Official build) dev (64-bit) ), I don't have this bug anymore.
You could check edge://serviceworker-internals/ for a detailed list of active service workers.
To (temporary) disable a service worker you could press 'F12' to open Devtools and navigate to the 'Application' Tab. Under the 'Application' section there is an entry called 'Service Workers' in which you can unregister specific workers associated with certain sites.
Beware that upon visiting the same sites new Service Workers could be installed again and some are able to run offline.
To permanently prevent sites from installing service workers you could either disable cookies (Globally or just for a single site) or disable JavaScript completely, the latter may cause issues with most sites.
- 07_19Apr 07, 2020Iron ContributorThanks for this quick fix. Currently, each time there is a lag, after I close a tab or open/close an extension, I open the browser task manager and kill the task.
By the way, do you know why this is happening since the last update? I never had anything like that before!- ThraetaonaApr 07, 2020Iron ContributorYou're welcome,
Not sure; since I don't have the same problem on canary; it could still be an issue with a specific site or extension?
To test weather the recent update has been causing the issue, you could (1) remove all extensions, (2) unregister all service workers through Devtools and (3) clear your browser's cache.
Then try opening a site like google or this thread and closing them, see if they cause any lag spikes.- 07_19Apr 09, 2020Iron Contributor
Since the new update (Version 83.0.474.0 (Official build) dev (64-bit) ), I don't have this bug anymore.