aekici / aspnet-outputcache

ASP.NET Redis Output Cache Provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

ASP.NET Redis Output Cache Provider


Languages

Language:PowerShell 86.7%Language:C# 12.5%Language:Shell 0.8%