1 write to _memoryCache
aspire (1)
Mcp\Docs\DocsCache.cs (1)
27_memoryCache = memoryCache;
11 references to _memoryCache
aspire (11)
Mcp\Docs\DocsCache.cs (11)
39if (_memoryCache.TryGetValue(cacheKey, out string? content)) 50_memoryCache.Set(cacheKey, diskContent); 66_memoryCache.Set(cacheKey, content); 81if (_memoryCache.TryGetValue(cacheKey, out string? etag)) 92_memoryCache.Set(cacheKey, diskETag); 109_memoryCache.Remove(cacheKey); 115_memoryCache.Set(cacheKey, etag); 126if (_memoryCache.TryGetValue(IndexCacheKey, out LlmsDocument[]? documents)) 137_memoryCache.Set(IndexCacheKey, diskDocuments); 151_memoryCache.Set(IndexCacheKey, documents); 164_memoryCache.Remove(cacheKey);