AzureCDNToolkit not using CDN URL but redirects to Azure blob storage URL
I'm using Azure CDN Toolkit (v0.1.12-beta) with Umbraco 7.13.1. My images are getting resized and stored into cache Azure blob.
However, the generated page never seems to redirect to the CDN URL, it always redirects to the root Azure storage URL (https://blah-blah.blob.core.windows.net/cache/e/9/1/e/1/1/some-image-name.png)
These URLs are generated in razor templates using:
Browsers save redirects in their cache and that might be why you are seeing a link to *.blob.core.windows.net. Open a new private/incognito browser window and check your site again.
AzureCDNToolkit not using CDN URL but redirects to Azure blob storage URL
I'm using Azure CDN Toolkit (v0.1.12-beta) with Umbraco 7.13.1. My images are getting resized and stored into cache Azure blob.
However, the generated page never seems to redirect to the CDN URL, it always redirects to the root Azure storage URL (https://blah-blah.blob.core.windows.net/cache/e/9/1/e/1/1/some-image-name.png)
These URLs are generated in razor templates using:
In imageprocessor/cache.config I have
in web.config I have
Any ideas why CDN URL is not used?
Browsers save redirects in their cache and that might be why you are seeing a link to *.blob.core.windows.net. Open a new private/incognito browser window and check your site again.
Turns out that it was a TLS1.2-related issue. Here is the summary that makes the images come from CDN, hopefully it helps others, too.
Install the UmbracoCms.IdentityExtensions (if you didn't already) and configure owin:startup in web.config:
Edit the App_Start/UmbracoStandardOwinStartup.cs
And add:
After this point the images are working as expected. The issue was identified at https://github.com/CrumpledDog/Umbraco-AzureCDNToolkit/issues/21
is working on a reply...