Guide

Guide

Service Workers Draining CPU in Chrome? Stop Background Script Overload (2026)

Service Workers Draining CPU in Chrome? Stop Background Script Overload (2026)

Feb 24, 2026

Feb 24, 2026

Modern websites install "Service Workers", scripts that run in the background even after you close the tab (to handle push notifications or offline sync). Often, these workers get stuck in a loop, appearing in Task Manager as "Service Worker: https://youtube.com" consuming 10-20% CPU constantly.

Modern websites install "Service Workers", scripts that run in the background even after you close the tab (to handle push notifications or offline sync). Often, these workers get stuck in a loop, appearing in Task Manager as "Service Worker: https://youtube.com" consuming 10-20% CPU constantly.

The Manual Fix

The Manual Fix

  • Unregister Workers: Go to chrome://serviceworker-internals/, find the buggy site, and click Unregister.

  • Block Background Sync: Go to Settings > Privacy > Site Settings > Background Sync and disable it for suspicious sites.

  • Hard Reload: Open the site and press Ctrl+Shift+R to force an update of the worker file.
  • Unregister Workers: Go to chrome://serviceworker-internals/, find the buggy site, and click Unregister.

  • Block Background Sync: Go to Settings > Privacy > Site Settings > Background Sync and disable it for suspicious sites.

  • Hard Reload: Open the site and press Ctrl+Shift+R to force an update of the worker file.
  • The Automated Fix

    The Automated Fix

    SuperchargePerformance creates a boundary. Our Script Control module can throttle the execution context of these workers. Furthermore, our Privacy/Blocking engine often blocks the registration of Service Workers from tracking domains (like push notification spammers) entirely.

    SuperchargePerformance creates a boundary. Our Script Control module can throttle the execution context of these workers. Furthermore, our Privacy/Blocking engine often blocks the registration of Service Workers from tracking domains (like push notification spammers) entirely.

    Technical Root Cause Analysis


    Service Workers are intended to be ephemeral (wake up, do task, sleep).


    • The Bug: Poorly coded workers keep a "Keep-Alive" connection open to the server, polling for notifications every second.

    • The Impact: This prevents the CPU from idling.

    • The Fix: By blocking the network requests associated with these polls, SuperchargePerformance forces the worker to idle, saving your battery.


    • FAQ



      What are service workers in Chrome?


      Service workers are background scripts that web apps and extensions use for offline caching, push notifications, and background sync. They run in their own process and can consume CPU even when you're not interacting with the page.



      Why do service workers use so much CPU?


      Common causes: poorly written web app code that triggers frequent cache updates, extensions with aggressive background polling, and sites that abuse the service worker API for analytics or tracking. Chrome Task Manager (Shift+Esc) shows which service worker is consuming resources.



      How do I stop service workers from draining CPU?


      Identify the offending service worker in Chrome Task Manager, then either disable the extension or block the site's service worker registration. SuperchargePerformance's tab suspension prevents service workers in suspended tabs from running.



      Common Service Worker Offenders



      Not all service workers are equal. The worst CPU offenders:



    • News sites (CNN, BBC, NYT) — register service workers for push notifications and offline reading. Even after you leave the page, the worker keeps checking for updates every few minutes.

    • PWAs (Progressive Web Apps) like Twitter, Spotify Web, and Slack — their service workers handle caching aggressively. If you have 5 PWA tabs open, that's 5 service workers running independent cache maintenance loops.

    • Ad networks — some ad scripts register their own service workers to cache ad assets. These are the hardest to identify because they don't show the site's name in Chrome Task Manager.

    • Chrome extensions — every MV3 extension runs its own service worker. Extensions with frequent alarms or message passing (password managers, tab managers, ad blockers) contribute measurable CPU overhead.


    How to Audit Service Workers



  • Open chrome://serviceworker-internals — lists every registered service worker across all origins

  • Check the "Running" column — workers should only be active briefly, then stop

  • If a worker shows as "Running" for minutes continuously, it has a bug or is doing unnecessary background work

  • Click "Stop" to test if it reduces CPU, then consider blocking that domain's service worker or suspending the tab
  • Technical Root Cause Analysis


    Service Workers are intended to be ephemeral (wake up, do task, sleep).


    • The Bug: Poorly coded workers keep a "Keep-Alive" connection open to the server, polling for notifications every second.

    • The Impact: This prevents the CPU from idling.

    • The Fix: By blocking the network requests associated with these polls, SuperchargePerformance forces the worker to idle, saving your battery.


    • FAQ



      What are service workers in Chrome?


      Service workers are background scripts that web apps and extensions use for offline caching, push notifications, and background sync. They run in their own process and can consume CPU even when you're not interacting with the page.



      Why do service workers use so much CPU?


      Common causes: poorly written web app code that triggers frequent cache updates, extensions with aggressive background polling, and sites that abuse the service worker API for analytics or tracking. Chrome Task Manager (Shift+Esc) shows which service worker is consuming resources.



      How do I stop service workers from draining CPU?


      Identify the offending service worker in Chrome Task Manager, then either disable the extension or block the site's service worker registration. SuperchargePerformance's tab suspension prevents service workers in suspended tabs from running.



      Common Service Worker Offenders



      Not all service workers are equal. The worst CPU offenders:



    • News sites (CNN, BBC, NYT) — register service workers for push notifications and offline reading. Even after you leave the page, the worker keeps checking for updates every few minutes.

    • PWAs (Progressive Web Apps) like Twitter, Spotify Web, and Slack — their service workers handle caching aggressively. If you have 5 PWA tabs open, that's 5 service workers running independent cache maintenance loops.

    • Ad networks — some ad scripts register their own service workers to cache ad assets. These are the hardest to identify because they don't show the site's name in Chrome Task Manager.

    • Chrome extensions — every MV3 extension runs its own service worker. Extensions with frequent alarms or message passing (password managers, tab managers, ad blockers) contribute measurable CPU overhead.


    How to Audit Service Workers



  • Open chrome://serviceworker-internals — lists every registered service worker across all origins

  • Check the "Running" column — workers should only be active briefly, then stop

  • If a worker shows as "Running" for minutes continuously, it has a bug or is doing unnecessary background work

  • Click "Stop" to test if it reduces CPU, then consider blocking that domain's service worker or suspending the tab
  • Service workers run even after you close the tab that installed them. Clearing registrations helps short-term. Long-term, SuperchargePerformance's tab suspension prevents sites from piling up background workers in the first place.

    Service workers run even after you close the tab that installed them. Clearing registrations helps short-term. Long-term, SuperchargePerformance's tab suspension prevents sites from piling up background workers in the first place.