{"library":"strapi-middleware-cache","type":"library","category":null,"description":"A cache middleware for Strapi v3 headless CMS that caches incoming GET requests and auto-busts on write operations. Current stable version is 2.1.8 (deprecated). Last updated 2021, no longer maintained. Requires Strapi 3.4.0+ and Node 14. Supports memory and Redis storage engines with per-model caching configuration. Deprecated in favor of strapi-plugin-rest-cache for Strapi v4. Key differentiator: simple LRU caching with automatic cache invalidation on PUT/PATCH/POST/DELETE.","language":"javascript","status":"deprecated","version":"2.1.8","tags":["javascript","cache","strapi","requests","redis","memcache","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install strapi-middleware-cache","imports":["module.exports = ({ env }) => ({ settings: { cache: { enabled: true } } });","models: ['article', 'product']","model: { type: 'redis', redis: { hosts: ['127.0.0.1:6379'] } }"]},{"cmd":"yarn add strapi-middleware-cache","imports":[]},{"cmd":"pnpm add strapi-middleware-cache","imports":[]}],"homepage":"https://github.com/patrixr/strapi-middleware-cache#readme","github":"https://github.com/patrixr/strapi-middleware-cache","docs":null,"changelog":null,"pypi":null,"npm":"strapi-middleware-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}