{"id":19435512,"url":"https://github.com/cssnr/cache-cleaner","last_synced_at":"2026-01-21T09:13:34.910Z","repository":{"id":253866130,"uuid":"844722942","full_name":"cssnr/cache-cleaner","owner":"cssnr","description":"Easily clear cache for the current site and optionally auto-reload with a single key press, from the popup or with the context menu.","archived":false,"fork":false,"pushed_at":"2025-07-06T04:59:28.000Z","size":277,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T05:38:52.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cssnr.github.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cssnr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-19T20:57:21.000Z","updated_at":"2025-07-06T04:59:30.000Z","dependencies_parsed_at":"2024-08-27T02:24:49.877Z","dependency_job_id":"3e2d257b-b4fd-4d81-b920-184d84d3578c","html_url":"https://github.com/cssnr/cache-cleaner","commit_stats":null,"previous_names":["cssnr/cache-cleaner"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cssnr/cache-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fcache-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fcache-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fcache-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fcache-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cssnr","download_url":"https://codeload.github.com/cssnr/cache-cleaner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cssnr%2Fcache-cleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28630943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:06:47.256Z","updated_at":"2026-01-21T09:13:34.900Z","avatar_url":"https://github.com/cssnr.png","language":"JavaScript","funding_links":["https://ko-fi.com/cssnr"],"categories":[],"sub_categories":[],"readme":"[![Chrome Web Store Users](https://img.shields.io/chrome-web-store/users/nbkhplnnajkikghffmincdbipjalpobi?logo=google\u0026logoColor=white\u0026label=users)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Mozilla Add-on Users](https://img.shields.io/amo/users/cache-cleaner-addon?logo=mozilla\u0026label=users)](https://addons.mozilla.org/addon/cache-cleaner-addon)\n[![Chrome Web Store Rating](https://img.shields.io/chrome-web-store/rating/nbkhplnnajkikghffmincdbipjalpobi?logo=google\u0026logoColor=white)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Mozilla Add-on Rating](https://img.shields.io/amo/rating/cache-cleaner-addon?logo=mozilla\u0026logoColor=white)](https://addons.mozilla.org/addon/cache-cleaner-addon)\n[![GitHub Repo Stars](https://img.shields.io/github/stars/cssnr/cache-cleaner?style=flat\u0026logo=github\u0026logoColor=white)](https://github.com/cssnr/cache-cleaner/stargazers)\n[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/nbkhplnnajkikghffmincdbipjalpobi?label=chrome\u0026logo=googlechrome)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Mozilla Add-on Version](https://img.shields.io/amo/v/cache-cleaner-addon?label=firefox\u0026logo=firefox)](https://addons.mozilla.org/addon/cache-cleaner-addon)\n[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/cache-cleaner?logo=github\u0026logoColor=white)](https://github.com/cssnr/cache-cleaner/releases/latest)\n[![Build](https://img.shields.io/github/actions/workflow/status/cssnr/cache-cleaner/build.yaml?logo=github\u0026logoColor=white\u0026label=build)](https://github.com/cssnr/cache-cleaner/actions/workflows/build.yaml)\n[![Test](https://img.shields.io/github/actions/workflow/status/cssnr/cache-cleaner/test.yaml?logo=github\u0026logoColor=white\u0026label=test)](https://github.com/cssnr/cache-cleaner/actions/workflows/test.yaml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cssnr_cache-cleaner\u0026metric=alert_status\u0026label=quality)](https://sonarcloud.io/summary/overall?id=cssnr_cache-cleaner)\n[![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/cache-cleaner?logo=github\u0026logoColor=white\u0026label=updated)](https://github.com/cssnr/cache-cleaner/graphs/commit-activity)\n[![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/cache-cleaner?logo=htmx\u0026logoColor=white)](https://github.com/cssnr/cache-cleaner)\n[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/cache-cleaner?logo=bookstack\u0026logoColor=white\u0026label=repo%20size)](https://github.com/cssnr/cache-cleaner)\n[![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat\u0026logo=github\u0026logoColor=white\u0026label=org%20stars)](https://cssnr.github.io/)\n[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord\u0026logoColor=white\u0026label=discord\u0026color=7289da)](https://discord.gg/wXy6m2X8wY)\n[![Support](https://img.shields.io/badge/Ko--fi-579fbf?logo=kofi\u0026label=Support)](https://ko-fi.com/cssnr)\n\n# Cache Cleaner\n\nModern Chrome Web Extension and Firefox Browser Addon to easily clean selected cache items specific sites or the whole\nbrowser with a single key press, from the right-click context menu or via the toolbar icon popup. Cache cleaner is also\navailable for mobile browsers, see [Install](#install) below.\n\nFirefox does not have an API to clear cache storage, the cache created by service workers. Furthermore, it has no\noption to bypass the service worker for network when testing. This extension resolves that issue by using a custom\nfunction to clear **Cache Storage** when clearing site cache plus has an option automatically reload the page after\nclearing the cache. Now after making a change to a site with a service worker, all you have to do is press `F4` (default\nkeybind to clear cache) to clear the cache and refresh the site. Additionally, the browsing data API differs on Firefox\nand Chrome so logic was added to allow the extension to run on both browsers.\n\nMore information on the individual APIs\nfor [Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browsingData)\nand [Chrome](https://developer.chrome.com/docs/extensions/reference/api/browsingData).\n\n- [Install](#Install)\n- [Features](#Features)\n    - [Upcoming Features](#Upcoming-Features)\n    - [Known Issues](#Known-Issues)\n- [Configuration](#Configuration)\n- [Usage](#Usage)\n- [Support](#Support)\n- [Development](#Development)\n    - [Building](#Building)\n- [Contributing](#Contributing)\n\n## Install\n\n- [Google Chrome Web Store](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n- [Mozilla Firefox Add-ons](https://addons.mozilla.org/addon/cache-cleaner-addon)\n\n[![Chrome](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/chrome_48.png)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Firefox](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/firefox_48.png)](https://addons.mozilla.org/addon/cache-cleaner-addon)\n[![Edge](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/edge_48.png)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Brave](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/brave_48.png)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Opera](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/opera_48.png)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Chromium](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/chromium_48.png)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n[![Yandex](https://raw.githubusercontent.com/smashedr/logo-icons/master/browsers/yandex_48.png)](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\n\nAll **Chromium** Based Browsers can install the extension from\nthe [Chrome Web Store](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi).\n\nMobile browser support available for\n[Firefox](https://addons.mozilla.org/addon/cache-cleaner-addon),\n[Yandex](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi) and\n[Kiwi](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi).\n\n[![QR Code GitHub](https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/cache-cleaner/qr-code-firefox.png)](https://addons.mozilla.org/addon/auto-auth)\n\n## Features\n\n- Clear cache and reload site with a single key or button press\n- Choose which cache items to clear or clear all data\n- Clear cache for a specific site or the whole browser\n- Option to clear **Cache Storage** in Firefox for individual sites\n- Works in both Firefox and Chromium based browsers\n\n### Upcoming Features\n\n- Custom time frames to clear supported caches\n- Chrome only, option to exclude specified origins\n\n\u003e [!TIP]\n\u003e **Don't see your feature here?**\n\u003e Request one on\n\u003e the [Feature Request Discussion](https://github.com/cssnr/cache-cleaner/discussions/categories/feature-requests).\n\n### Known Issues\n\n- No major issues detected at the moment...\n\n\u003e [!TIP]\n\u003e **Don't see your issue here?**\n\u003e Open one on the [Issues](https://github.com/cssnr/cache-cleaner/issues).\n\n## Configuration\n\nYou can pin the Addon by clicking the `Puzzle Piece`, find the Cache Cleaner icon, then;  \n**Chrome,** click the `Pin` icon.  \n**Firefox,** click the `Settings Wheel` and `Pin to Toolbar`.\n\nTo open the options, click on the icon (from above) then click `Open Options`.  \nYou can also access `Options` through the right-click context menu (enabled by default).\n\n## Usage\n\nUse the extension in one of the three following ways:\n\n- Click on the Toolbar Icon and using the Popup\n- Set Keyboard Shortcuts for Clearing Cache or Activating the Popup\n- Using the Right Click Context Menu (configurable from Options Page)\n\n## Support\n\nFor help using the web extension, see:\n\n- Q\u0026A Discussion: https://github.com/cssnr/cache-cleaner/discussions/categories/q-a\n- Request a Feature: https://github.com/cssnr/cache-cleaner/discussions/categories/feature-requests\n\nIf you are experiencing an issue/bug or getting unexpected results, you can:\n\n- Report an Issue: https://github.com/cssnr/cache-cleaner/issues\n- Chat with us on Discord: https://discord.gg/wXy6m2X8wY\n- Provide General Feedback: [https://cssnr.github.io/feedback](https://cssnr.github.io/feedback/?app=Cache%20Cleaner)\n\nLogs can be found inspecting the page (Ctrl+Shift+I), clicking on the Console, and;\nFirefox: toggling Debug logs, Chrome: toggling Verbose from levels dropdown.\n\nTo support this project, see the [Contributing](#Contributing) section at the bottom.\n\n# Development\n\n**Quick Start**\n\nFirst, clone (or download) this repository and change into the directory.\n\nSecond, install the dependencies:\n\n```shell\nnpm install\n```\n\nFinally, to run Chrome or Firefox with web-ext, run one of the following:\n\n```shell\nnpm run chrome\nnpm run firefox\n```\n\nAdditionally, to Load Unpacked/Temporary Add-on make a `manifest.json` and run from the [src](src) folder, run one of\nthe following:\n\n```shell\nnpm run manifest:chrome\nnpm run manifest:firefox\n```\n\nChrome: [https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world#load-unpacked](https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world#load-unpacked)  \nFirefox: [https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/](https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/)\n\nFor more information on\nweb-ext, [read this documentation](https://extensionworkshop.com/documentation/develop/web-ext-command-reference/).  \nTo pass additional arguments to an `npm run` command, use `--`.  \nExample: `npm run chrome -- --chromium-binary=...`\n\n## Building\n\nInstall the requirements and copy libraries into the `src/dist` directory by running `npm install`.\nSee [gulpfile.js](gulpfile.js) for more information on `postinstall`.\n\n```shell\nnpm install\n```\n\nTo create a `.zip` archive of the [src](src) directory for the desired browser run one of the following:\n\n```shell\nnpm run build\nnpm run build:chrome\nnpm run build:firefox\n```\n\nFor more information on building, see the scripts section in the [package.json](package.json) file.\n\n### Chrome Setup\n\n1. Build or Download a [Release](https://github.com/cssnr/cache-cleaner/releases).\n1. Unzip the archive, place the folder where it must remain and note its location for later.\n1. Open Chrome, click the `3 dots` in the top right, click `Extensions`, click `Manage Extensions`.\n1. In the top right, click `Developer Mode` then on the top left click `Load unpacked`.\n1. Navigate to the folder you extracted in step #3 then click `Select Folder`.\n\n### Firefox Setup\n\n1. Build or Download a [Release](https://github.com/cssnr/cache-cleaner/releases).\n1. Unzip the archive, place the folder where it must remain and note its location for later.\n1. Go to `about:debugging#/runtime/this-firefox` and click `Load Temporary Add-on...`\n1. Navigate to the folder you extracted earlier, select `manifest.json` then click `Select File`.\n1. Optional: open `about:config` search for `extensions.webextensions.keepStorageOnUninstall` and set to `true`.\n\nIf you need to test a restart, you must pack the addon. This only works in ESR, Development, or Nightly.\nYou may also use an Unbranded\nBuild: [https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds](https://wiki.mozilla.org/Add-ons/Extension_Signing#Unbranded_Builds)\n\n1. Run `npm run build:firefox` then use `web-ext-artifacts/{name}-firefox-{version}.zip`.\n1. Open `about:config` search for `xpinstall.signatures.required` and set to `false`.\n1. Open `about:addons` and drag the zip file to the page or choose Install from File from the Settings wheel.\n\n# Contributing\n\nPlease consider making a donation to support the development of this project\nand [additional](https://cssnr.com/) open source projects.\n\n[![Support](https://img.shields.io/badge/Ko--fi-579fbf?style=for-the-badge\u0026logo=kofi\u0026label=Support)](https://ko-fi.com/cssnr)\n\nAdditionally, you can give a 5-star rating\non [Google](https://chromewebstore.google.com/detail/cache-cleaner/nbkhplnnajkikghffmincdbipjalpobi)\nor [Mozilla](https://addons.mozilla.org/addon/cache-cleaner-addon) and star this project on GitHub.\n\nOther Web Extensions I have created and published:\n\n- [Link Extractor](https://github.com/cssnr/link-extractor?tab=readme-ov-file#readme)\n- [Open Links in New Tab](https://github.com/cssnr/open-links-in-new-tab?tab=readme-ov-file#readme)\n- [Auto Auth](https://github.com/cssnr/auto-auth?tab=readme-ov-file#readme)\n- [Cache Cleaner](https://github.com/cssnr/cache-cleaner?tab=readme-ov-file#readme)\n- [HLS Video Downloader](https://github.com/cssnr/hls-video-downloader?tab=readme-ov-file#readme)\n- [Obtainium Extension](https://github.com/cssnr/obtainium-extension?tab=readme-ov-file#readme)\n- [SMWC Web Extension](https://github.com/cssnr/smwc-web-extension?tab=readme-ov-file#readme)\n- [PlayDrift Extension](https://github.com/cssnr/playdrift-extension?tab=readme-ov-file#readme)\n- [ASN Plus](https://github.com/cssnr/asn-plus?tab=readme-ov-file#readme)\n- [Aviation Tools](https://github.com/cssnr/aviation-tools?tab=readme-ov-file#readme)\n- [Text Formatter](https://github.com/cssnr/text-formatter?tab=readme-ov-file#readme)\n\nFor a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssnr%2Fcache-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcssnr%2Fcache-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcssnr%2Fcache-cleaner/lists"}