Skip to content

FiftyfiveTech/strapi-plugin-cache-purge

Repository files navigation

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

About

A Strapi plugin for administrators to manually purge cached content from the admin panel, integrating seamlessly with cache systems like Redis or memory.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors