Try our conversational search powered by Generative AI!

Use EpiServer cache with Redis

Vote:
 

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

Can I write a custom provider for the EpiServer cache?

#171183
Nov 02, 2016 9:25
Vote:
 

I know good blog post from Jon:

http://jondjones.com/how-to-implement-redis-with-episerver-easily/

#171185
Nov 02, 2016 9:32
Vote:
 

Check out this blogpost as well http://bergdaniel.se/azure-appfabric-cache-with-episerver-cms

BR,

Marija

#171190
Nov 02, 2016 11:49
Vote:
 

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

ISynchronizedObjectInstanceCache

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?

#172046
Nov 24, 2016 13:00
Vote:
 

@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.

#203441
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.