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

Redis Cache gets cleared completely when updating any data #26

Open
gilson-perfomatix opened this issue Jul 5, 2022 · 4 comments
Open
Labels
flag: good first issue Good for newcomers issue: bug Something isn't working severity: medium status: confirmed status: pending reproduction version: Strapi 4 Issues related to the versions supported by Strapi 4

Comments

@gilson-perfomatix
Copy link

I am using strapi-plugin-rest-cache with Redis for caching API. Using it with 4.x version of strapi.

As I check the Redis after calling two API, there will be data stored in Redis. But while updating any of the one data from strapi admin, all the data gets cleared from Redis.

@lenhatnguyen
Copy link

I have the same problem, @gilson-perfomatix you can try remove keysPrefix. It working with me

@de-shine
Copy link

Any update on this fix guys? Is it working as expected now ?

@da7a90-backup
Copy link

Isn't this how it's supposed to be working? meaning shouldn't the cache be cleared when the data is updated to always have fresh data?

@derrickmehaffy
Copy link

Isn't this how it's supposed to be working? meaning shouldn't the cache be cleared when the data is updated to always have fresh data?

Yes that is correct

@derrickmehaffy derrickmehaffy added the version: Strapi 4 Issues related to the versions supported by Strapi 4 label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flag: good first issue Good for newcomers issue: bug Something isn't working severity: medium status: confirmed status: pending reproduction version: Strapi 4 Issues related to the versions supported by Strapi 4
Projects
None yet
Development

No branches or pull requests

5 participants