yao/yao/stores/cache.lru.yao
Max 8523170992 Implement system store management and enhance store loading functionality
- Introduced a new system store management feature, allowing for the loading of predefined system stores such as cache and OAuth client stores.
- Added a `loadSystemStores` function to handle the loading of system stores with variable replacement for configuration paths.
- Enhanced the `Load` function to include the loading of system stores, improving the overall store management process.
- Updated test utilities to support loading system stores for testing, ensuring comprehensive coverage and functionality.
- Refactored the `replaceVars` function to facilitate variable replacement in JSON strings, enhancing flexibility in store configurations.
2025-07-20 11:23:00 +08:00

11 lines
285 B
Text

{
"label": "System Cache Store",
"description": "LRU cache store for common caching in Yao system",
"tags": ["system", "cache", "lru", "memory"],
"readonly": false,
"builtin": true,
"sort": 2,
"name": "System Cache Store",
"type": "lru",
"option": { "size": 4096 }
}