Try our conversational search powered by Generative AI!

Use EpiServer cache with Redis


Is it possible to put EpiServer cache in a cache provider like Redis?

Can I write a custom provider for the EpiServer cache?

Nov 02, 2016 9:25

I know good blog post from Jon:

Nov 02, 2016 9:32

Check out this blogpost as well



Nov 02, 2016 11:49

I finally got around to implementing a custom cache provider. I implemented my own version of


I wired it up by doing:

context.Container.Configure(x => { x.For<ISynchronizedObjectInstanceCache>().Use<RedisRuntimeCacheProvider>(); });

But when the application starts I get an error in structuremap:

StructureMapBuildException: Error while building type EPiServer.Core.ContentCacheRemover

Anyone got any experience with this?

Nov 24, 2016 13:00

@Erik: Did you get it to work with Redis? We're working on it our selves but are currently stuck on how to serialize Episerver's objects.

Apr 24, 2019 9:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.