1 write to _cache
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
57_cache = new MemoryCache(new MemoryCacheOptions());
4 references to _cache
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (4)
RuntimeViewCompiler.cs (4)
91if (_cache.TryGetValue<Task<CompiledViewDescriptor>>(relativePath, out var cachedResult) && cachedResult is not null) 97if (_cache.TryGetValue(normalizedPath, out cachedResult) && cachedResult is not null) 119if (_cache.TryGetValue<Task<CompiledViewDescriptor>>(normalizedPath, out var result) && result is not null) 156_cache.Set(normalizedPath, taskSource.Task, cacheEntryOptions);