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)
39
if (
_memoryCache
.TryGetValue(cacheKey, out string? content))
50
_memoryCache
.Set(cacheKey, diskContent);
66
_memoryCache
.Set(cacheKey, content);
81
if (
_memoryCache
.TryGetValue(cacheKey, out string? etag))
92
_memoryCache
.Set(cacheKey, diskETag);
109
_memoryCache
.Remove(cacheKey);
115
_memoryCache
.Set(cacheKey, etag);
126
if (
_memoryCache
.TryGetValue(IndexCacheKey, out LlmsDocument[]? documents))
137
_memoryCache
.Set(IndexCacheKey, diskDocuments);
151
_memoryCache
.Set(IndexCacheKey, documents);
164
_memoryCache
.Remove(cacheKey);