Get current user in lifecycle hook in Strapi v5
I recently started a strapi v5 project, and faced the same issue as in my other strapi projects, that at some point I must populate queried data with the id of the current user.
Strapi Redis cache invalidation on entity update
Could you please help me out? I’m facing an issue with Redis caching.
When one entity in the Strapi collection is modified, Redis removes the entire cache for that entity, and everything gets reset.
P.S. Maybe it’s because we’re using the REST API?
I’ll leave the libraries we’re using on the project:
“strapi-plugin-redis”: “1.0.1”,
“strapi-plugin-rest-cache”: “4.2.8”,
“strapi-provider-rest-cache-redis”: “4.2.8”,
Strapi change response if custom backend value is set
I’ve got a strapi app which allows users to cast a vote. For this, the user gets a link which allows them to cast a vote, creating a vote
instance in my backend.