Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 503 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 503 Bytes

Strapi Plugin Cache Purge

Manage Redis Cache from Dashboard

How to Config

  • Create a REST endpoint called https://strapi_url/api/cache in strapi with
    • GET method to return all cached keys
    • DELETE method to delete or clear cache

Fetch Keys Request

// GET http://localhost:1337/api/cache

// Response
interface CacheKeyApiResponse {
  keys: string[];
}

Clear Cache Request

// DELETE http://localhost:1337/api/cache

// Response
// Http Status 200 OK