Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: UI to clear Redis cache #2276

Open
crayolakat opened this issue Apr 7, 2023 · 0 comments
Open

Feature Request: UI to clear Redis cache #2276

crayolakat opened this issue Apr 7, 2023 · 0 comments
Labels
C-enhancement Type: enhancement

Comments

@crayolakat
Copy link
Collaborator

Problem
Sometimes old/wrong values in the Redis cache lead to unexpected behavior. E.g.: I changed the permissions of somebody's account via an SQL command, and the Redis cache didn't get updated so they aren't getting the right permissions when using Spoke. To solve these issues, we currently have to log into where Redis is hosted and run some manual commands to delete the cache.

Solution
A UI feature in Spoke to clear different cache prefixes that can cause problems when the data in there becomes out-of-date. E.g.: texterroles, optouts

Context
Currently the "Clear cached organization and extension caches" button in Spoke admin settings doesn't clear all problematic cache prefixes, including texterroles and optouts.

Slightly related issue: https://github.com/MoveOnOrg/Spoke/issues/2163

@crayolakat crayolakat added the C-enhancement Type: enhancement label Apr 7, 2023
@crayolakat crayolakat changed the title Feature Request: <your-title-here> Feature Request: UI to clear Redis cache Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Type: enhancement
Projects
None yet
Development

No branches or pull requests

1 participant