windows-azure-storage icon indicating copy to clipboard operation
windows-azure-storage copied to clipboard

Adding support for Azure CDN

Open MourIdri opened this issue 7 years ago • 8 comments

Hi team, is that possible to add support for Azure CDN with an azure storage account ? Storing content ( images/videos) on azure blob is very good but I could also configure CDN with blob storage I will save a lot of time... Loading storage from Blob only is very time consuming and make the ,page loading very long

MourIdri avatar Apr 04 '18 13:04 MourIdri

It already does this? Set the CNAME field to your CDN address.

XVII avatar Sep 20 '18 05:09 XVII

@ShadowXVII : With Azure blob storage yes. But if it is also possible to link with Azure CDN it will be even better.

MourIdri avatar Sep 20 '18 16:09 MourIdri

I'm not sure what you mean. Azure CDN wraps blob storage. This in turn gives you a CDN name which can be put in the CNAME field.

XVII avatar Sep 20 '18 22:09 XVII

I requested to have Azure CDN embedded on the wordpress Azure plugin

Le ven. 21 sept. 2018 à 00:32, Jake Edwards [email protected] a écrit :

I'm not sure what you mean. Azure CDN wraps blob storage. This in turn gives you a CDN name which can be put in the CNAME field.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/10up/windows-azure-storage/issues/58#issuecomment-423355516, or mute the thread https://github.com/notifications/unsubscribe-auth/ASc6h6D5BvCdX7e7jC9vdCPdrwXVwSYiks5udBdwgaJpZM4TG1Sx .

MourIdri avatar Sep 21 '18 16:09 MourIdri

Without more specific explanation I'm not sure the developer would be able to help... this plugin is already compatible with Azure CDN.

Azure CDN uses a blob storage as the backend.

XVII avatar Sep 23 '18 03:09 XVII

Without more specific explanation I'm not sure the developer would be able to help... this plugin is already compatible with Azure CDN.

Azure CDN uses a blog storage as the backend.

No my Friend, Azure CDN also uses CDN partners. Azure CDN based on Azure blob is not available everywhere, while CDN of partner is. Then at the time set up my environment Azure CDN based on blob was not available.

MourIdri avatar Sep 24 '18 07:09 MourIdri

Azure CDN has three flavours, and two partners -- Verizon, Akamai and Microsoft. Is this what you're referring to by "CDN partners"?

Even when you use Verizon, Akamai, the CDN Profiles all still link back to Blob Storage. Unless you're referring to Custom Origin? This would be impossible to support and outside the scope of this plugin.

Otherwise, you'll need to provide a link or screenshot as to what you're referring to.

XVII avatar Sep 24 '18 07:09 XVII

One thing that would need attention is the CDN Origin rules. It's possible to have a cdn.mydomain.tld pointing to mystorage.blob.core.windows.net/myblob/, thus making it necessary to remove the /myblob part of the URL.

So what was with the previous system either mystorage.blob.core.windows.net/myblob/2018/12/20/whatever.png or cdn.mydomain.tld/myblob/2018/12/20/whatever.png, with Azure CDN it can become cdn.mydomain.tld/2018/12/20/whatever.png, providing a less ugly URL.

fonix232 avatar Dec 20 '18 21:12 fonix232