Umbraco 13 - Azure Blob Storage

Hi there.

We are experincing an issue with Azure Blob Storage and the .AddAzureBlobMediaFileSystem()
.AddAzureBlobImageSharpCache() methods. The iamges being loaded through Azure integration, is extremly slow. But if we use the cdn for an image, then its quick, as in 30ms for load of the images.

If we use the Azure methods in program.cs then the images from the blob storage takes an average of 5-6 seconds pr image to load. But if we test with the cdn directly from azure, then its down to 450ms pr image.

Can you guys help me debug what exactly is going on?

Just a quick check: be absolutely sure that the AddAzureBlobMediaFileSystem and AddAzureBlobImageSharpCache are added AFTER AddComposers extension. If not, the cache will not properly work and in that case the images gets generated every single time. That’s based on a real experience unfortunately…

You should have two folders in your blob: media and cache. Both should have files in them.