Azure Media CDN not clear #7076
-
Hi good people! Anyway, what would be the best approach?, and once properly configured, would this mean that if you upload via media on content items, it would be saved on CDN ? and not "app_data" folder? or you have to manually transfer the media to the CDN before i can be accessed. As always thank you for the prompt response. Regards! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Ok, so lets clear a few things up. Azure CDN is a different thing to Azure Blob Storage.
It is not a CDN, just an external storage provider. Media will still be served by the host (Orchard Core) site, but Orchard Core will fetch and cache images from Blob Storage as required. If you want to use a CDN we have an option for configuring a url prefix, and you would point your CDN at the Orchard Core site (not blob storage) Configuration can be done in either the See docs here on how these options can be configured. https://docs.orchardcore.net/en/dev/docs/reference/core/Configuration/ The easiest way to test if you have correctly configured a connection string is to go to the If you're still having difficulty configuring, please upload the appsettings.json configuration, with details on which one it is (i.e. main host, or tenants) |
Beta Was this translation helpful? Give feedback.
Ok, so lets clear a few things up.
Azure CDN is a different thing to Azure Blob Storage.
Azure Blob Storage, and the feature we offer for it will replace the default
App_Data
file system for Media only.You will have to transfer your existing media from
App_Data
to Azure Blob Storage.New media will be uploaded to Blob Storage
It is not a CDN, just an external storage provider.
Media will still be served by the host (Orchard Core) site, but Orchard Core will fetch and cache images from Blob Storage as required.
If you want to use a CDN we have an option for configuring a url prefix, and you would point your CDN at the Orchard Core site (not blob storage)
Configuration can be done …