Skip to content

Commit fdf678f

Browse files
committed
optimize Output Cache; no API changes yet - all internal:
- unify OutputCacheEntry and FormatterEntry - leased buffers for headers, tags, etc (dispose on way out) - use ReadOnlySequence<byte> instead of List<byte[]> with recyclable segments - avoid copying the payload data once fectched - serialization tweak: use common headers (not yet listed) # Conflicts: # src/Middleware/OutputCaching/src/OutputCacheEntryFormatter.cs # Conflicts: # src/submodules/googletest
1 parent ff54729 commit fdf678f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Caching/StackExchangeRedis/src/RedisOutputCacheStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
namespace Microsoft.Extensions.Caching.StackExchangeRedis;
2323

24-
internal class RedisOutputCacheStore : IOutputCacheStore, IOutputCacheBufferStore, IDisposable
24+
internal partial class RedisOutputCacheStore : IOutputCacheStore, IOutputCacheBufferStore, IDisposable
2525
{
2626
private readonly RedisCacheOptions _options;
2727
private readonly ILogger _logger;

0 commit comments

Comments
 (0)