CacheCow comes into the picture when you want to implement HTTP caching on both the client and server. This is a lightweight library, and currently, ASP.NET Web API support is available. CacheCow is open source and comes with an MIT license that is available on GitHub (https://github.com/aliostad/CacheCow).
To get started with CachCow, you need to get ready for both the server and client. The important steps are:
- Install the Install-Package CacheCow.Server NuGet package within your ASP.NET Web API project; this will be your server.
- Install the Install-Package CacheCow.Client NuGet package within your client project; the client application will be WPF, Windows Form, Console, or any other web application.
- Create a cache store. You need to create a cache store at the server side that requires a database for storing cache metadata (https://github.com/aliostad/CacheCow/wiki/Getting-started#cache-store).
If you want to use memcache, refer to https://github.com/aliostad/CacheCow/wiki/Getting-started for more information.