Automatically setting Cache-Control for Azure Storage Blobs via Azure Functions

I’m storing my blog’s images in Azure storage and serve them via Azure CDN for a better performance. However, the images didn’t have a Cache-Control header so far, so they wouldn’t get cached as much / as long as I wanted to. And while setting the CacheControl property on my Azure Storage blobs manually is possible, I didn’t want to do that, but rather have it automated. Azure and automation? Details