Forum Discussion
Office 365 CDN Advantages?
Hi Vesa,
Thank you for the response.
Can we upload the aspx/html files in the sharepoint library and refer it using document library URL instead of Office 365 CDN URL?
Hi Joseph Velliah,
you can absolutely reference aspx and html pages in the SharePoint context like typically with SharePoint, without CDN usage. This is like it has been for years and CDN does not change this.
I might be now missing some scenario details around what you'd like to achieve and if so, please provide some additional details. thx.
- Joseph VelliahApr 24, 2017Copper Contributor
Hi VesaJuvonen,
We would like to know more about global assets required outside of SharePoint Online. An example would be image references being exposed through exchange emails from workflows. We struggled with these when they reside in SharePoint, but they work fine through Akamai.
- Joseph VelliahApr 24, 2017Copper Contributor
Hi VesaJuvonen
Also we have created a custom control block to copy item url in document libraries. This will redirect the user to a aspx page hosted in CDN with some query strings and the javascript code written inside the aspx page will process the query string and update the DOM elements at run time. I am not sure this will work in Office 365 CDN.
- VesaJuvonenApr 25, 2017Microsoft
Hi Joseph,
there are no global assets which are required outside of SharePoint Online. If you keep your assets in normal SharePoint libraries, they are secured and require authentication. CDN capability does not change this in anyway, unless tenant administrator enables explicitly public CDN in that particular library, like explained in the blog post.
"This will redirect the user to a aspx page hosted in CDN" - CDN is just a tool to publish a web site closer to the user. You will still need to host the aspx file somewhere, like in Azure, where it will be processed using server side code, if it contains that. Office 365 CDN is for static assets, like mentioned within the blog post. You can use that to copy static assets to CDN, so that they are served faster for the end users - but dynamic files requiring server side execution (like aspx) are not supported.
- Joseph VelliahApr 25, 2017Copper Contributor
Hi VesaJuvonen
Thank you for the suggestions.
We will explore the same and come back to you if we have any questions.