Summary
In this chapter, you have learned about caching with Azure Cache for Redis and Azure CDN. Both caching services can be successfully used for the cache-aside pattern to implement caching for static and dynamic content and configured with a custom expiration time to avoid inconsistency with the source of the data. Azure Cache for Redis is a platform service available in Azure with a large scale of different price tiers. It supports multiple data types such as strings, integers, lists, sets, and hashes to store strings, binaries, and object fields. It should be used as temporary storage and the application should not rely on the cache data.
Azure CDN is designed for caching static data such as images, videos, and documents. The CDN can also help to speed up the loading of static content such as media, CSS, and JavaScript files. CDN works as a proxy server for your customers and helps them cache files very close to their location. The CDN network supports a variety of locations...