Clears the browser cache for the current tab only.

Latest Version

Version
1.0.0
Update
December 25, 2022
Size
17.06KiB
Developer
Category
Users
2,000+
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
BrowsingData
ActiveTab
See more

Clear Cache for Current Tab Extension

Unlike most cache-cleaning extensions, this one targets the current tab only. This is particularly useful when developing and testing a web app. With this extension, clearing the browser cache no longer affects your experience on other websites.

To use it, click the extension icon or assign a keyboard shortcut.

This is the full list of items that the extension clears. Chromium does not allow clearing anything more than that when targeting a specific tab:

- Cache Storage
- Cookies
- File Systems
- IndexedDB
- Local Storage
- Plugin Data
- Service Workers
- WebSQL

In the future, I will add an option to select which of the above categories to clear.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Clear Cache for Current Tab", "version": "1.0.0", "description": "Clears the browser cache for the current tab only.", "author": "Nicolas Barraud", "permissions": [ "browsingData", "activeTab" ], "commands": { "clear-cache": { "suggested_key": { "default": "Ctrl+R", "mac": "Command+R" }, "description": "Clear cache for current tab" } }, "action": { "default_title": "Clear cache for current tab", "default_icon": { "16": "icon16.png", "24": "icon24.png", "32": "icon32.png", "64": "icon64.png", "128": "icon128.png" } }, "background": { "service_worker": "background.js" }}
Read more