1 implementation of Set
Microsoft.AspNetCore.ResponseCaching (1)
MemoryResponseCache.cs (1)
37public void Set(string key, IResponseCacheEntry entry, TimeSpan validFor)
2 references to Set
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
331_cache.Set(context.BaseKey, context.CachedVaryByRules, context.CachedResponseValidFor); 354_cache.Set(context.StorageVaryKey ?? context.BaseKey, context.CachedResponse, context.CachedResponseValidFor);