Strapi REST Cache Plugin Now Supports Strapi v5
Blog post from Strapi
The Strapi REST Cache plugin has been updated to support Strapi v5, a development that required collaboration from various community members. This plugin enhances performance by caching HTTP GET request responses using an LRU strategy and supports multiple storage backends like in-memory, Redis, or custom providers. It allows users to manage caching with strategies based on content type, routes, query parameters, and headers, and ensures data accuracy by automatically invalidating cache when content changes. The update to v5 includes breaking changes such as renaming package names, removing the Couchbase provider, and updating cache-manager to version 7, while also implementing middleware injection instead of router caching. Users are encouraged to provide feedback on the updated plugin through GitHub or Discord, and further details are available on its dedicated documentation website.