/aspnet-outputcache

ASP.NET Redis Output Cache Provider

Primary LanguagePowerShell

aspnet-outputcache

ASP.NET Output Cache Providers

Simple Usage

Just use standard system.web/caching/outputCache config section.

  <system.web>
    <caching>
      <outputCache defaultProvider="RedisOutputCachingProvider">
        <providers>
          <clear />
          <add name="RedisOutputCachingProvider" type="AspNet.Caching.Output.Providers.RedisOutputCachingProvider, AspNet.Caching.Output"
              host="localhost" port="6379" />
        </providers>
      </outputCache>
    </caching>
  </system.web>

Note

First we planned to use protobuf-net for de/serialization, since protobuf-net relies on strongly-typed objects and System.Web.Caching objects are internal, we needed to go with BinaryFormatter.

Here is the Microsoft Connect link.

We're on it!

Serialization benchmarks

Public servicestack benchmarks