Forum Discussion
Jason Warren
Apr 21, 2017Tin Contributor
Getting the Office 365 Private CDN to work
https://dev.office.com/blogs/general-availability-of-office-365-cdn and tested out the CDN feature in a SharePoint Online tenant with first release. I enabled both the public and private CDNs, cr...
Jason Warren
Apr 26, 2017Tin Contributor
OK.
I have a site collection with a library that is added as a private CDN origin. In the library are JPEG and PNG files. https://tenant.sharepoint.com/sites/examplesc/imageslibrary. Origin: */imageslibrary
I have a pages library with pages. I add a new page and on that page I add a CEWP. In the CEWP I insert an image that is stored in imageslibrary.
I save the page, publish it, and browse to the page. The image loads from https://tenant.sharepoint.com/sites/examplesc/imageslibrary using http/1.1
What am I missing? How do I get it to perform the automatic rewrite?
Steve Borgwardt
Apr 28, 2017Brass Contributor
I just wanted to mention that I tried using a Private CDN only and followed the exact steps in the video and it doesn't work either.
I created a publishing site, added a new doc library as a Private CDN Origin - "sites/cdn/cdn" where i have a site called cdn and doc library called cdn
I made sure the image was published as a major version and tried a few options with the page - Page layout with image on left, and also inserting web part with image.
I thought it was a delay, but still after a few days the URL's for the images still show directly from SharePoint and not the Private CDN URL
Thanks