Full source code here.
Want to learn more about Polly? Check out my Pluralsight course on it.
Polly allows you to cache a response for reuse by a subsequent request, it supports both local an distributed caches, full information can be found here https://github.