Skip to content

Add Reload button that purges site cache via chrome.browsingData#805

Closed
davidnuescheler wants to merge 1 commit intomainfrom
feature/reload-purge-cache
Closed

Add Reload button that purges site cache via chrome.browsingData#805
davidnuescheler wants to merge 1 commit intomainfrom
feature/reload-purge-cache

Conversation

@davidnuescheler
Copy link
Contributor

Testing for a reload button

- New reload-cache plugin: purges HTTP cache and Cache API for current origin, then reloads tab
- Uses chrome.browsingData.remove() with origins scope; added browsingData permission
- Reload button shown in preview, live, review, and prod environments only
- i18n: reload_clear_cache, reload_clear_cache_state in all locales
- Tests and chrome mock updated for new plugin and purgeCacheAndReload action

Made-with: Cursor
@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

❌ Patch coverage is 23.52941% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/extension/actions.js 0.00% 11 Missing ⚠️
...extension/app/plugins/reload-cache/reload-cache.js 50.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rofe
Copy link
Contributor

rofe commented Feb 28, 2026

Works, but deemed impractical.

@rofe rofe closed this Feb 28, 2026
@rofe rofe deleted the feature/reload-purge-cache branch February 28, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants