[Docs][Enhancement]: Add warning about Redis caching librechat.yaml configuration #11176
eduardosanzb
started this conversation in
Feature Requests & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
📝 Documentation Request: Warn users about Redis configuration caching
Problem Summary
When
USE_REDIS=trueis enabled, LibreChat caches the entirelibrechat.yamlconfiguration in Redis indefinitely without automatic invalidation. This causes significant deployment friction because:Existing Issues & Discussions
This has been reported multiple times by users:
librechat.yamlfile cached forever #4076 - "librechat.yamlfile cached forever" (Sep 17, 2024)What Users Expect
Users expect that:
librechat.yaml+ restarting LibreChat = updated configurationCurrent State
✅ Redis docs exist at https://docs.librechat.ai/docs/configuration/redis
❌ No warning about config caching behavior
❌ No explanation that restart alone isn't sufficient
❌ No design rationale explaining why config files are cached
Proposed Documentation Update
Add a prominent warning section to
/docs/configuration/redisdocumentation:Questions for Maintainers
Current Redis Usage Context
Based on inspection, LibreChat stores these items in Redis:
CONFIG_STORE:STARTUP_CONFIG- ❌ Shouldn't cache (read once at startup)CONFIG_STORE:ENDPOINT_CONFIG- ❌ Shouldn't cache (static config)CONFIG_STORE:MODELS_CONFIG- ❌ Shouldn't cache (static config)MCP::ServersRegistry::Status- ✅ Appropriate (runtime state)ROLES:*- ✅ Appropriate (user data)MODEL_QUERIES:*- ✅ Appropriate (response cache)Industry Standard Practice
Redis is typically used for:
Redis is not typically used for:
Beta Was this translation helpful? Give feedback.
All reactions