Skip to main content

Posts

Showing posts from March, 2016

Increase performance by using Cache-Control header in Blob Storage

CodeProject Hello Folks, Caching has always been an important part of a good application design and performance optimization. Fetching something over the network is both slow and expensive; large responses require many round-trips between the client and server, which delays when they are available and can be processed by the browser, and also incurs data costs for the visitor. As a result, the ability to cache and reuse previously fetched resources is a critical aspect of optimizing for performance. In this post, we'll see how we can optimize performance by using "Cache-Control" header in Azure Blob Storage.For this, I assume you have an Azure subscription and have a Storage account. Let's see step by step how we can add "Cache-Control" header to a block blob. In this example we'll upload an image to Azure Blob Storage from a simple ASP.Net application. 1. Go to Azure Portal -> Storage->Containers and create a new container. You can selec