Service Worker Cache Cleaner

One-click reset of stale service workers and caches for localhost dev — with staleness detection, batch cleanup, and history (Pro)
Find Me: Google Knowledge Panel
Common Questions about ExtensionHub.app: More
We independently provide precision extensions, and expert resources for browser extension. Learn More.
๐Ÿงน Extension + Guide

Service Worker Cache Cleaner

One-click reset of stale service workers and Cache Storage for the current origin — built for reused localhost ports during local development.

Service Worker Cache Cleaner

Service Worker Cache Cleaner Popup Preview ๐Ÿงน SW Cache Cleaner Free One-click reset for reused localhost ports Inspect & nuke service workers and caches for the current origin ๐Ÿ” Shows: SW registrations · Cache entries · Staleness ๐Ÿ’ฅ Nuke This Origin ๐Ÿ“‹ Individual controls: Unregister SW · Clear cache ๐Ÿ“Š Pro: Health scoring · Batch cleanup · History · Notifications Pro: $5 one-time · Trial: 14 days Settings · History · Guide · Upgrade to Pro

The Service Worker Cache Cleaner popup — inspect and reset SWs and caches for the current origin.

Service Worker Cache Cleaner — Complete User Guide

Inspect · Reset · Localhost Dev

Version 1.0 · Updated 2026

Service Worker Cache Cleaner is a Chrome extension that gives you one-click reset of stale service workers and Cache Storage for the current origin. Built for developers who reuse localhost ports during local development — the DevTools fix is 5-10 manual clicks every time. This resets service workers and caches for the current origin only, in one click, without touching cookies, localStorage, or IndexedDB.

What Is Service Worker Cache Cleaner?

Service Worker Cache Cleaner is a Chrome extension that inspects and resets service workers and Cache Storage for the current origin. When you're developing locally and reusing a port — say localhost:3000 — stale service workers from a previous session can serve old assets. This extension lets you unregister all service workers and clear all caches for that origin in one click.

It also gives you individual controls to unregister a specific service worker or clear a specific cache, with Pro features including stale detection, health scoring, batch cleanup across all open localhost tabs, cleanup history, and webhook notifications.

Who Should Use This Extension?

  • Frontend developers — working on SPAs with service workers that persist across dev sessions.
  • Full-stack developers — running multiple microservices on localhost during development.
  • QA engineers — testing PWA behavior and need a clean cache state between test runs.
  • Anyone who builds on localhost — and gets frustrated by stale assets from old service workers.

Why You Can Trust Service Worker Cache Cleaner

๐Ÿ”’ Trust built in Local-first, private by default, and built with transparency.

Service Worker Cache Cleaner runs entirely in your browser. All inspection and cleanup happens locally — the extension never reads or transmits page content, cookies, localStorage, or IndexedDB. The only network calls are an optional license check against Gumroad and — only if you configure it — a notification to ntfy.sh or your Slack webhook after a cleanup completes.

๐Ÿงช

Battle-tested logic

Byte formatting tested across sub-KB, KB, and MB scales. Staleness tested at the exact threshold boundary. Health score tested across healthy/warning/worst-case range.

๐Ÿ“

Documented calculations

Every formula is transparent and verifiable — no black-box algorithms.

๐Ÿ”’

100% local storage

All inspection data and settings stay in your browser.

๐Ÿ“‹

No hidden data collection

Minimal permissions — only storage, alarms, activeTab, scripting, notifications, and tabs.

Why Use This Extension? (Key Benefits)

๐Ÿงน One-click reset — unregister all service workers and clear all caches for the current origin.
๐Ÿ” Individual controls — unregister a specific SW or clear a specific cache without touching the rest.
๐Ÿ“Š Health scoring — transparent health score based on waiting workers, registration count, age, and cache size (Pro).
๐Ÿ“‹ Batch cleanup — scan all open localhost tabs and clean them in one go (Pro).
๐Ÿ“ Cleanup history — log of all cleanups with JSON export (Pro).
๐Ÿ”” Notifications — optional ntfy.sh and Slack webhook notifications when a cleanup completes (Pro).

Key User Pain Points & How This Extension Solves Them

๐Ÿงน DevTools cleanup is 5-10 clicks every time
One click resets service workers and caches for the current origin — no DevTools navigation required.
๐Ÿ”„ Reused localhost ports serve stale assets
When you restart a dev server on the same port, stale SWs and caches persist. This extension clears them instantly.
๐Ÿ“‹ Individual SW/cache management is tedious
Unregister a single SW or clear a single cache without touching the rest — granular control when you need it.
๐Ÿ“Š Health of SW/cache state is opaque
Transparent health score tells you if your origin's SW/cache environment is healthy, good, warning, or stale (Pro).
๐Ÿ“ No record of what you cleaned
Cleanup history logs every cleanup with JSON export — useful for debugging and sharing with your team (Pro).
๐Ÿ”” Need to know when CI/deploy cleans up
Optional ntfy.sh and Slack webhook notifications when a cleanup completes (Pro).

Why Upgrade to Pro?

๐Ÿš€ Unlock the full power of Service Worker Cache Cleaner

The free tier gives you single-origin inspect and nuke, individual SW/cache controls, and native notifications. But if you're a developer who juggles multiple localhost projects, the Pro plan gives you the advanced features you need.

๐Ÿ†“ Free

  • Single-origin inspect + nuke
  • Individual SW/cache controls
  • Native notifications
  • Keyboard shortcut support

⭐ Pro

  • Stale detection with configurable threshold
  • Health scoring with band labels
  • Batch cleanup across open localhost tabs
  • Cleanup history with JSON export
  • Webhook notifications (ntfy.sh/Slack)
  • Cache diff viewer

๐Ÿ“ˆ ROI

  • ๐Ÿ’ธ $5 one-time
  • ⏱️ Saves 2+ hours/week
  • ๐Ÿ“Š Cleaner dev environment
  • ๐Ÿ“‹ Audit trail for debugging

๐Ÿ”ฅ Upgrade to Pro Now

14‑day free trial included · one-time payment

Features — Detailed Guide

1. One-Click Nuke

how it works Unregister all SWs · Clear all caches

What it does: Click the "Nuke This Origin" button to unregister all service workers and clear all caches for the current origin. Optionally reload the page after cleanup.

What's included:

  • Full reset — unregisters every SW and clears every cache
  • Origin-scoped — only affects the current origin, not other tabs or sites
  • Smart reload — optionally reloads the page after cleanup
  • Never-nuke exclude list — protect specific origins from accidental nukes
  • Cache whitelist — preserve specific caches by name

2. Individual Controls

how it works Unregister one SW · Clear one cache

What it does: Each service worker and cache has its own "Unregister" or "Clear" button, so you can manage them individually without affecting the rest.

Why it matters: Sometimes you only need to clear one problematic cache or unregister one stale SW — this gives you that granularity.

3. Stale Detection (Pro)

how it works Configurable threshold

What it does: Flags SW registrations and caches as stale if they're older than your configured threshold (default 24 hours).

honest tracking The standard Service Worker API does not expose an install time. "Age" here is the time since this extension first observed that registration or cache, tracked in local storage — not a fabricated read of browser-internal data that doesn't exist. This is labeled honestly in the UI.

Stale threshold: 24 hours (configurable in Settings) Age tracked from first observation by the extension

4. Health Scoring (Pro)

how it works Transparent heuristic

What it does: Computes a health score for the current origin based on waiting workers, registration count, age, and total cache size.

formula Start at 100, deduct:

-20 if any waiting worker exists -15 if more than 1 registration exists -25 if oldest age exceeds the stale threshold -15 if total cache size exceeds 100 MB Floor: 25 (this formula's actual minimum) Band: 90-100 Healthy · 70-89 Good · 40-69 Warning · 0-39 Stale Environment
Worked example
One waiting worker, 2 registrations, oldest age 25h (threshold 24h), cache size 120MB
Score = 100 - 20 - 15 - 25 - 15 = 25 → Stale Environment

5. Batch Cleanup (Pro)

how it works Scan all open localhost tabs

What it does: Scans all currently open tabs whose origin matches localhost, 127.0.0.1, or *.local. Shows a list of tabs with their SW/cache state and lets you select which ones to nuke.

Why it matters: When you have 10 microservices open across different ports, each with their own service workers and caches, batch cleanup lets you reset them all in one go.

honest scope A Service Worker only exists in the context of a page that's actually loaded. Batch mode scans all currently open tabs — not an unbounded port range — because unopened ports have no workers to query.

6. Cache Diff Viewer (Pro)

how it works Snapshot before · Compare after rebuild

What it does: Takes a snapshot of your current cache contents. After you rebuild your app, click "Compare to Snapshot" to see exactly which URLs were added or removed.

Why it matters: Perfect for understanding what your build process actually caches and verifying that stale URLs are being purged.

7. Cleanup History (Pro)

how it works Persistent log + JSON export

What it does: Logs every cleanup with origin, SW count, cache count, and timestamp. Export the entire history as JSON.

Why it matters: Useful for debugging, auditing, and sharing with your team when troubleshooting issues.

8. Cleanup Notifications (Pro)

how it works ntfy.sh · Slack webhook

What it does: Sends a notification to ntfy.sh or a Slack webhook when a cleanup completes. Native browser notifications are included for free.

Why it matters: Great for CI scripts, shared dev environments, or just getting a push notification on your phone when a cleanup finishes.

Setup & Configuration

Installation

  1. Install Service Worker Cache Cleaner from the Chrome Web Store.
  2. Navigate to any page on localhost, 127.0.0.1, or *.local (or any HTTP page).
  3. Click the extension icon in the toolbar to open the popup.

Keyboard Shortcut

  1. Press Ctrl+Shift+K (Windows/Linux) or Command+Shift+K (Mac) to nuke the current origin directly.
  2. You can change the shortcut in Chrome's extension keyboard shortcuts settings.

Configuring Settings

  1. Open the Settings page from the popup footer or the Chrome extensions page.
  2. Stale Threshold: Set the age threshold for stale detection (default 24 hours).
  3. Confirm Before Nuke: Choose when to show a confirmation dialog.
  4. Cache Size Threshold: Used when "over threshold" confirmation is selected.
  5. Reload After Cleanup: Set the default behavior for reloading after nuke.

Never-Nuke Exclude List

  1. In Settings, scroll to the "Never-Nuke Exclude List" section.
  2. Add origins you want to protect, one per line.
  3. Supports a trailing * wildcard for the port, e.g., http://localhost:*.
  4. Click Save.

๐Ÿ›ก️ Safety Origins in the exclude list can never be nuked, even by the keyboard shortcut or batch cleanup.

Cache Whitelist

  1. In Settings, scroll to the "Cache Whitelist" section.
  2. Add cache names you want to preserve during nukes, one per line.
  3. Supports a trailing * wildcard, e.g., user-uploads-*.
  4. Click Save.

๐Ÿ“ฆ Preserve Whitelisted caches are skipped during "Nuke This Origin" and batch cleanup.

Setting Up Notifications (Pro)

  1. In Settings, scroll to the "Cleanup Notifications" section.
  2. Select a notification type: ntfy.sh topic or Slack webhook URL.
  3. Enter your topic or webhook URL.
  4. Click Save.

๐Ÿ”” Native Native browser notifications work for free — no setup required.

Pricing: Free vs. Pro

Free — forever $0
  • Single-origin inspect + nuke
  • Individual SW/cache controls
  • Native browser notifications
  • Keyboard shortcut support
Pro — one-time $5 one-time
  • Stale detection with configurable threshold
  • Health scoring with band labels
  • Batch cleanup across open localhost tabs
  • Cleanup history with JSON export
  • Webhook notifications (ntfy.sh/Slack)
  • Cache diff viewer

One Pro license covers all features. Get your license at muhiuddinalam.gumroad.com/l/swcachecleaner.

Data Privacy, Performance & Permissions

  • ๐Ÿ”’ Local‑only storage: All data (observations, history, settings) is stored exclusively in your browser using chrome.storage.local.
  • ๐Ÿ”Œ On‑demand injection: No persistent content script — chrome.scripting.executeScript runs only when you act.
  • ๐Ÿ›ก️ Minimal permissions: Only storage, alarms, activeTab, scripting, notifications, and tabs.
  • ๐Ÿ“‹ Host permissions: Scoped to localhost, 127.0.0.1, *.local, and Gumroad — not broad internet access.

Common Mistakes to Avoid

Mistake: Thinking the extension shows a browser-reported "install time" for service workers.
Fix: The standard Service Worker API does not expose an install time. "Age" is the time since this extension first observed that registration or cache, tracked in local storage. This is labeled honestly in the UI as "Xh old (since first seen)."
Mistake: Expecting "Check for Update" to force-activate a waiting service worker.
Fix: The update() API checks for a newer script but does not activate a waiting worker. Only self.skipWaiting() from within the SW itself, or a message-passing convention the SW must implement, can do that.
Mistake: Thinking batch cleanup scans ports that don't have open tabs.
Fix: A Service Worker only exists when a page is loaded. Batch mode scans all currently open tabs, not a port range. Unopened ports have no workers to query.
  • ⚠️ Non-localhost origins: Nuking origins that don't look like typical dev hosts triggers an extra confirmation, but is never blocked outright.
  • ⚠️ Cache size is an estimate: Uses Content-Length headers where present; falls back to blob size (capped at 50 entries per cache) and marks as an estimate when that fallback is used.
  • ⚠️ Pro trial: 14‑day trial unlocks all Pro features — no credit card required for the trial.

A Note on Accuracy

Staleness tracking uses the time since this extension first observed a registration or cache — not a browser-reported install time (because the standard Service Worker API doesn't expose one). This is labeled honestly everywhere it appears in the UI.

Health Score is a transparent heuristic — not an AI judgment. The formula is: start at 100, deduct 20 for waiting workers, 15 for multiple registrations, 25 if oldest age exceeds threshold, 15 if cache size exceeds 100MB. Floor is 25. Banded as Healthy/Good/Warning/Stale Environment.

Cache size is a best-effort estimate. Uses each response's Content-Length header where present; falls back to reading the actual blob size (capped at the first 50 entries per cache to avoid pathological slowness) and marks the total as an estimate when that fallback is used.

Batch cleanup scans all currently open tabs whose origin matches localhost/127.0.0.1/*.local. It does not scan unopened ports because a Service Worker only exists when a page is loaded.

Frequently Asked Questions

Does this extension work on production sites?

Yes — it works on any HTTP/HTTPS site. However, nuking a production site's service workers and caches is not recommended. The extension warns you when the origin doesn't look like a typical dev hostname, but doesn't block it.

What happens to the data stored by the extension when I nuke?

The extension only unregisters service workers and deletes Cache Storage — it does not touch cookies, localStorage, IndexedDB, or any other storage mechanisms. Your browser's own data storage for that origin remains untouched.

How does the "Check for Update" button work?

It calls the real, standard registration.update() API, which asks the browser to check the network for a newer SW script. It does NOT force-activate a waiting worker — only self.skipWaiting() from within the SW itself can do that.

Can I use this with CI/CD scripts?

Yes — the keyboard shortcut (Ctrl+Shift+K) works in any tab, and the Pro webhook notifications can alert you when a cleanup completes. However, the extension is designed for manual use, not automated scripts.

What happens if I uninstall the extension?

All data (observations, history, settings) is removed from your browser. If you have a Pro license, you can re-enter your key after reinstalling to restore access.

Tired of stale service workers ruining your local dev?

Free: single-origin nuke · Pro: $5 one-time for batch cleanup, history, and more

Get Service Worker Cache Cleaner Pro → Install Free on Chrome Web Store →

Service Worker Cache Cleaner · Version 1.0 · Built with ❤️ for Chrome · Privacy Policy · Contact Me

Post a Comment

๐Ÿ”

The ExtensionHub.app Standard

HOW EVERY EXTENSION IS BUILT

๐Ÿงช

Experience

Every extension is designed, built, and personally tested by one founder before it ships, and the library continues to grow with new tools added regularly.

๐ŸŽฏ

Expertise

Every calculation is documented in a full guide showing the exact formula and worked example — nothing runs as an unexplained black box.

๐Ÿ›️

Authoritativeness

Formulas are sourced from primary authorities, not guesswork — SEC Reg NMS execution-quality methodology, FXCM's own published contract specs, IRS thresholds, and OFAC's public screening list.

๐Ÿ›ก️

Trustworthiness

Most tools run entirely in your browser with no server-side processing of your data. Pricing, data handling, and limitations are stated plainly in every guide.

๐Ÿ”’ SSL Encrypted ๐Ÿ“– Sourced & Documented ๐Ÿ†“ Free Core, Forever ๐Ÿ—️ Built In-House ๐Ÿ“… Updated Weekly ๐Ÿ“ˆ Actively Growing

๐Ÿ‘‹ About Me — Muhiuddin Alam

Hello, I'm Muhiuddin Alam — an independent developer and the builder behind ExtensionHub.app, a growing library of single-purpose Chrome extensions for trading, Amazon selling, international trade, small business operations, and everyday consumer finance.

I build and maintain ExtensionHub.app, where every extension is built in-house, organized into problem-focused extensions, and the catalog continues to grow with new tools added regularly.

You'll also find my writing on:

Based in New York, I design, build, and test every extension myself before it ships — each one is built around a single job: solve one specific problem well, with transparent, verifiable calculations rather than a black box.

๐Ÿ” Find the Perfect Browser Extension

Discover single-purpose browser extensions across problem-focused extensions — trading, Amazon selling, international trade, small business, consumer finance, real estate, and more. New tools are added regularly, and every extension is built and tested by me personally before it ships.

๐ŸŒ About ExtensionHub.app

Single-Purpose Browser Extensions • Built In-House • Trading, Selling & Everyday Money Tools

ExtensionHub.app is a single-developer library of Chrome extensions, organized into problem-focused extensions, with new ones added regularly. Every extension is built in-house—not sourced or aggregated from other developers.

I am Muhiuddin Alam, the developer behind ExtensionHub.app. My approach is simple: build narrow, single-purpose tools that solve one specific problem well, instead of bundling unrelated features into a bloated all-in-one app you'll only half use.

Each extension is built around a real, specific audience — retail and forex traders, Amazon wholesale sellers and brand owners, import/export businesses, freelancers and small business owners, everyday shoppers, real estate investors, and content creators. Every extension shares one subscription, so you're never paying separately per tool.

Here's how every extension on ExtensionHub.app is actually built:

  • ๐ŸŽฏ One job each — every extension solves exactly one problem, with no bundled feature creep.
  • ๐Ÿงฎ Transparent calculations — formulas are based on public, verifiable methodology (like the same NBBO execution-quality math brokers use, or FXCM's own published contract specs), not a black box.
  • ๐Ÿ”’ Local-first data — most extensions run entirely in your browser with no server-side processing of your data; the only network call most tools make is an optional license check for Pro features.
  • ๐Ÿ’ต Free core, forever — every extension keeps its core features working for free after the 14-day trial ends. Only the deeper Pro features require a subscription.

From trading and risk tools to Amazon wholesale and brand protection, international trade compliance, small business operations, and everyday consumer finance — each extensions was built around a specific, real gap I found wasn't already well-served by existing tools.

With ExtensionHub.app, you install exactly the tool for the problem you actually have, understand exactly what data it collects (usually none beyond what stays in your own browser), and pay for one extension's Pro subscription instead of hunting down and paying for a dozen separate apps.