By Sriram Mannava
In this article, let's look at how we can implement distributed caching in ASP.NET Core, with NCache as the caching provider.
A cache is a high-speed memory that applications use to store frequently accessed data. Using a cache reduces unnecessary database hits, since the data being requested is readily available in the cache and hence the response times can be significantly lower when compared to the otherwise. Caching is popularly used as a performance improvement technique.
In the context of Web APIs – developers can either adopt Response Caching, where the API sends additional information about the response in the headers, using which the consuming client can cache the response.
In this article, we’ll focus on Data Caching, where cache is used as an auxiliary store for performance optimisation.Read full Article