Example implementation of HTML Cache using Redis for ASP.NET Core 1.0 MVC
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vs/RedisCacheExample/v14
src/RedisCacheExample
.gitignore
LICENSE
NuGet.Config
README.md
RedisCacheExample.sln
global.json

README.md

Redis HTML Cache for ASP.NET Core 1.0

This repository contains example implementation of HTML Cache using Redis for ASP.NET Core 1.0 MVC.

Usage: Register CacheService implementation (both Redis and In-memory implementations provided), add CacheMiddleware into request pipeline and add Cache attribute to any method.

[Cache(Duration = 30)]
public IActionResult Index()
{
    return View();
}

For more information and in-detail description, visit my blog : http://zablo.net/blog/post/asp-net-core-redis-html-cache