{"library":"redis-csc","type":"library","category":null,"description":"Redis client-side caching wrapper for ioredis using Redis 6+ CLIENT TRACKING BCAST mode. Current stable version is 1.0.7 (last updated October 2023). It automatically invalidates local in-memory cache when subscribed key prefixes change in Redis, reducing latency and server load. Unlike generic caching libraries, this uses native Redis tracking for real-time invalidation without polling. Requires Redis >=6.0 and ioredis >=5.0 as a peer dependency. Ships TypeScript types and supports NOLOOP to avoid self-invalidation.","language":"javascript","status":"active","version":"1.0.7","tags":["javascript","redis","ioredis","cache","client-side-caching","tracking","performance","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-csc","imports":["import { RedisClientSideCache } from 'redis-csc'","const cache = await RedisClientSideCache.create(redis, prefixes, defaultExpiry, callback, readyTimeoutMs, localCacheTTL)","await cache.getCached('key')\nawait cache.setCached('key', value, ttl?)"]},{"cmd":"yarn add redis-csc","imports":[]},{"cmd":"pnpm add redis-csc","imports":[]}],"homepage":"https://github.com/GIVA-Jewellery/redis-csc.git","github":"https://github.com/GIVA-Jewellery/redis-csc","docs":null,"changelog":null,"pypi":null,"npm":"redis-csc","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}