How to Clear MemoryCache of IIS hosted application?

52 Views Asked by At

I have a CMS Application in .net 6 mvc, I've published that app on IIS server local. I've implemented cache system using MemoryCache.

I have written code to expire all cache when I publish a Content to server. But it is not taking effect until I restart server.

I think cache is not clearing from Server, help me to troubleshoot this problem.

0

There are 0 best solutions below