Media cache (Azure) causes very slow boot

Another update; the issue wasn’t the name of the Azure blob container. It was a coincidence with some other changes that made it seem that naming the blob ‘media’ didn’t work.

The real issue is the order in which extensions are registrered in the Program.cs file:

//This doesn't work
builder.CreateUmbracoBuilder()
    .AddBackOffice()
    .AddWebsite()
    .AddDeliveryApi()
#if !DEBUG
	.AddAzureBlobMediaFileSystem()
	.AddAzureBlobImageSharpCache()
#endif
    .AddComposers()
    .Build();

//This works
builder.CreateUmbracoBuilder()
    .AddBackOffice()
    .AddWebsite()
    .AddDeliveryApi()
    .AddComposers()
#if !DEBUG
	.AddAzureBlobMediaFileSystem()
	.AddAzureBlobImageSharpCache()
#endif
	.Build();

I mean, the documentation is correct, but I think it should be in there with exclamation marks; IT MUST BE AFTER ADDCOMPOSERS!

Anyway, it works now and boot times have gone down from 20 minutes to 1 minute.