ASP.NET Core | What is Distributed caching?
Applications running on multiple servers (Web Farm) should ensure that sessions are sticky. For Non-sticky sessions, cache consistency problems can occur. Distributed caching is implemented to avoid cache consistency issues. It offloads the memory to an external process. Distributed caching has certain advantages as below. Data is consistent across client requests to multiple server Data keeps alive during server restarts and deployments. Data does not use local memory IDistributedCache interface instance from any constructor enable distributed caching service via Dependency Injection .