Manage Redis Cache from Dashboard
- Create a REST endpoint called
https://strapi_url/api/cache
in strapi withGET
method to return all cached keysDELETE
method to delete or clear cache
// GET http://localhost:1337/api/cache
// Response
interface CacheKeyApiResponse {
keys: string[];
}
// DELETE http://localhost:1337/api/cache
// Response
// Http Status 200 OK