A Redis-based caching provider for the strapi-plugin-rest-cache plugin, enabling efficient HTTP response caching in Strapi v4 applications. Current version 4.2.9 integrates with Strapi 4.x and strapi-plugin-rest-cache ^4.0.0. It uses ioredis to connect to Redis and supports configurable TTL, cache invalidation strategies, and multi-instance Redis setups. Unlike memory-based caches, this provider allows cache persistence and sharing across Strapi instances. Community-maintained, with monthly releases following strapi-plugin-rest-cache updates.
npm install strapi-provider-rest-cache-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures the Redis cache provider for Strapi's rest-cache plugin with a default Redis URL and max cache size.
Use connection: { connectionString: '...' } instead of top-level connectionString.Install strapi-plugin-rest-cache via npm and add it to the plugins config.
Upgrade to Strapi v4 or use a different provider for v3.
Verify the REDIS_URL env, e.g., redis://:password@host:port/db.
Run `npm install strapi-provider-rest-cache-redis` and add it to plugins config.
Check that the package is installed, and import using the exact name: 'strapi-provider-rest-cache-redis'.
Ensure env() returns a string or provide a default string: connectionString: env('REDIS_URL', 'redis://localhost:6379').