Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've been using the Azure Blob Storage Provider for my personal site (dog fooding it before using it on new client projeccts) and it works great!
I was wondering if it is possible to configure it to use the Azure CDN. For instance, I have uploaded a PDF whose URL is http://alexlindgren.blob.core.windows.net/media/1001/site-building-with-umbraco-7.pdf but, because I've set up a CDN endpoint, is also available at: http://az659251.vo.msecnd.net/media/1001/site-building-with-umbraco-7.pdf Is there a way to get the CDN URL when displaying links/URLs so that images and other media can be loaded over the CDN?
Did you find any answer so far ... I would be intrested knowing about a solution for mentioned scenario.
If you just set the rootUrl value in the FileSystemProviders.config to your CDN Endpoint, you'll then be fethcing images from CDN, I tried it and it worked well.
I dont how good this workaround would be, I suggest consulting Dirk.
currently this package does not support CDN endpoints.Due to the long delay until the CDN cache shows updates, I don't think you should use CDN endpoints there.
If you like to use the CDN uri in the frontend (what makes sense) all you have to do is a simple replace of the blob storage domain by the CDN domain.
So I guess the best thing to do is create a helper function for writing out the image URLs on the frontend.
I would also be interested in using the cdn for frontend and blob for backend as I have had no end of issues when using the cdn on the backend (thumbnails dissapering etc)
How do you go about this?
you should configure the filesytemprovider's rootUrl for the blob storage (http://[myAccountName].blob.core.windows.net/). Thus all media urls are directed to the blob storage in the back office.
For frontend you can use your CDN endpoint. All you have to do is replacing the blob storage rootUrl by the CDN domain. You can do this like Alex within a (razor) helper function or in your business logic.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted