Cache API

Topics: ASP.NET Web API
Sep 22, 2012 at 12:31 PM

Could you give a hint on how to use ASP.NET Cache API in Web API? In case Web API supports it. Should I create static instance of Cache?


Sep 25, 2012 at 3:05 PM
Edited Sep 25, 2012 at 3:07 PM

Hi Alexander,

I along with a few people in the Web API community have been working on implementing caching according to HTTP spec (RFC 2616). This includes both client and server implementation and supports many storage scenarios although only some implemented yet.

Open source project is hosted at GitHub

NuGet packages released, just search for CacheCow.

For more info, have a look at a few posts on my blog :

Any problems, issues or suggestions let me know. If you would also like to contribute please let me know.