volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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?

#171183
Nov 02, 2016 9:25

I know good blog post from Jon:

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

#171185
Nov 02, 2016 9:32

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

BR,

Marija

#171190
Nov 02, 2016 11:49

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

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