fregante/webext-storage-cache
Add a method to clear entire cache except a few keys
Closed
#31 opened on Jul 19, 2022
enhancementhelp wanted
Repository metrics
- Stars
- (82 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
It could be named something like cache.clearExcept, and would accept an array of keys to preserve.
This would allow resetting the cache easily while keeping some important data, e.g. login credentials.