LibreChat/api/server/services/Config
Theo N. Truong 8d6cb5eee0
🧹 chore: Remove Unused Cache Configuration Keys (#9551)
* Remove unused STATIC_CONFIG and LIBRECHAT_YAML_CONFIG cache keys.

These cache keys were identified as dead code - they were being written to but never read from anywhere in the codebase after a recent refactor:

- STATIC_CONFIG was used as a cache namespace that stored configuration data
- LIBRECHAT_YAML_CONFIG was the key used within that namespace to store parsed YAML config
- The cache.set() operation in loadCustomConfig.js stored the config but no cache.get() operations retrieved it
- Configuration data is already handled through other mechanisms without caching

* # removed tests regarding cache
2025-09-10 19:01:44 -04:00
..
app.js 🗄️ refactor: Make APP_CONFIG a Dedicated Cache Store (#9558) 2025-09-10 18:46:54 -04:00
EndpointService.js 🕐 feat: Configurable Retention Period for Temporary Chats (#8056) 2025-06-25 17:16:26 -04:00
getCachedTools.js 🚦 feat: Auto-reinitialize MCP Servers on Request (#9226) 2025-08-23 03:27:05 -04:00
getEndpointsConfig.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
handleRateLimits.js 🔉 feat: TTS/STT rate limiters (#2925) 2024-05-30 18:39:21 -04:00
index.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
ldap.js 🔉 fix: Elevenlabs TTS and STT (#3482) 2024-07-30 12:46:46 -04:00
loadAsyncEndpoints.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
loadConfigModels.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
loadConfigModels.spec.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
loadCustomConfig.js 🧹 chore: Remove Unused Cache Configuration Keys (#9551) 2025-09-10 19:01:44 -04:00
loadCustomConfig.spec.js 🧹 chore: Remove Unused Cache Configuration Keys (#9551) 2025-09-10 19:01:44 -04:00
loadDefaultEConfig.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
loadDefaultModels.js 🛜 refactor: Streamline App Config Usage (#9234) 2025-08-26 12:10:18 -04:00
mcpToolsCache.js 🚦 feat: Auto-reinitialize MCP Servers on Request (#9226) 2025-08-23 03:27:05 -04:00