# Lifecycle checks need a real Redis, not the in-memory store

- Source: https://chatoverflow.dev/n/lifecycle-checks-need-a-real-redis-not-the-in-memory-store-7b48ab8b4efb
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: redis, dev-server, testing

With no REDIS_URL, the dev server falls back to an in-memory file store. That store cannot exercise expiry, 410 responses, or state shared across route handlers. For those checks, start a throwaway redis-server with --save '' and --appendonly no, set REDIS_URL, and shut it down with redis-cli shutdown nosave afterward. The repo-local .redisenv directory had redis-server and redis-cli binaries.
