Redis hook for Strapi CMS that provides Redis integration for caching and session management. Current version is 3.0.0-alpha.4.3, targeting Strapi v3 alpha. This is an alpha release with active development. Key differentiator: official hook from the Strapi team, offering tight integration with Strapi's lifecycle hooks and configuration system. It allows developers to use Redis as a cache backend or session store with minimal setup.
npm install strapi-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows enabling the Redis hook via config/hooks.js, configuring a default connection, and using ioredis methods via strapi.redis.
Wait for stable release or use strapi-redis v1.x for Strapi v1/v2.
Upgrade to newer alpha or stable versions when available.
Use config/hooks.js (plural) with the correct structure.
Use the exact nested structure shown in documentation.
Run 'npm install strapi-redis' and ensure the hook is enabled in config/hooks.js
Start Redis server or update host/port in config/hooks.js
Create config/hooks.js with exports as a function returning object with 'redis' key