1 write to CacheKey
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
384context.CacheKey = _keyProvider.CreateStorageKey(context);
7 references to CacheKey
Microsoft.AspNetCore.OutputCaching (7)
OutputCacheMiddleware.cs (7)
143if (context.AllowLocking && !string.IsNullOrEmpty(context.CacheKey)) 145var cacheEntry = await _requestDispatcher.ScheduleAsync(context.CacheKey, key => ExecuteResponseAsync()); 337if (string.IsNullOrEmpty(cacheContext.CacheKey)) 348cacheEntry = await _outputCacheEntryDispatcher.ScheduleAsync(cacheContext.CacheKey, (Store: _store, CacheContext: cacheContext), static async (key, state) => await OutputCacheEntryFormatter.GetAsync(key, state.Store, state.CacheContext.HttpContext.RequestAborted)); 379if (!string.IsNullOrEmpty(context.CacheKey)) 439if (string.IsNullOrEmpty(context.CacheKey)) 447await OutputCacheEntryFormatter.StoreAsync(context.CacheKey, context.CachedResponse, context.Tags, context.CachedResponseValidFor,