Redis Provider
This provider wires the official redis package to REDIS_URL, validates the URL with Zod, and includes small setCache / getCache / deleteCache helpers.
Installation Guide
npx servercn-cli add pr redisBasic Implementation
1. Env Configuration
2. Redis Client
Usage
Connect the client when your app boots (after importing the module so the client exists), then use the helpers or the raw client.
The template includes inline comment examples for OTP-style keys at the bottom of redis.ts.