Office 365 CDN Advantages?

%3CLINGO-SUB%20id%3D%22lingo-sub-64044%22%20slang%3D%22en-US%22%3EOffice%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64044%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EThe%20files%20hosted%20in%20Office%20365%20CDN%20will%20be%20served%20from%20a%20specific%20region(where%20the%20tenant%20is%20hosted).%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20this%20correct%2C%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EWhat%20are%20all%20the%26nbsp%3B%3C%2FSPAN%3Eadditional%20benefits%20we%20will%20get%20over%20other%20CDN%20providers%20such%20as%20Akamai%3F%26nbsp%3B%3C%2FLI%3E%3CLI%3EOur%20tenant%20is%20subscriped%20in%20US%20and%20we%20have%20users%20in%20different%20countries.%20What%20will%20be%20the%20performance%3F%26nbsp%3B%3C%2FLI%3E%3CLI%3ECan%20we%20host%26nbsp%3Bjson%2C%20aspx%2C%20html%20files%20in%26nbsp%3BOffice%20365%20CDN%3F%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-64044%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64844%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64844%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369%22%20target%3D%22_blank%22%3E%40Vesa%20Juvonen%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20suggestions.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20will%20explore%20the%20same%20and%20come%20back%20to%20you%20if%20we%20have%20any%20questions.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64695%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64695%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Joseph%2C%3C%2FP%3E%0A%3CP%3Ethere%20are%20no%20global%20assets%20which%20are%20required%20outside%20of%20SharePoint%20Online.%20If%20you%20keep%20your%20assets%20in%20normal%20SharePoint%20libraries%2C%20they%20are%20secured%20and%20require%20authentication.%20CDN%20capability%20does%20not%20change%20this%20in%20anyway%2C%20unless%20tenant%20administrator%20enables%20explicitly%20public%20CDN%20in%20that%20particular%20library%2C%20like%20explained%20in%20the%20blog%20post.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%22%3CEM%3EThis%20will%20redirect%20the%20user%20to%20a%20aspx%20page%20hosted%20in%20CDN%3C%2FEM%3E%22%20-%20CDN%20is%20just%20a%20tool%20to%20publish%20a%20web%20site%20closer%20to%20the%20user.%20You%20will%20still%20need%20to%20host%20the%20aspx%20file%20somewhere%2C%20like%20in%20Azure%2C%20where%20it%20will%20be%20processed%20using%20server%20side%20code%2C%20if%20it%20contains%20that.%20Office%20365%20CDN%20is%20for%20static%20assets%2C%20like%20mentioned%20within%20the%20blog%20post.%20You%20can%20use%20that%20to%20copy%20static%20assets%20to%20CDN%2C%20so%20that%20they%20are%20served%26nbsp%3Bfaster%20for%20the%20end%20users%20-%20but%26nbsp%3Bdynamic%20files%20requiring%20server%20side%20execution%20(like%20aspx)%20are%20not%20supported.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64498%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64498%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369%22%20target%3D%22_blank%22%3E%40Vesa%20Juvonen%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20we%20have%20created%20a%20custom%20control%20block%20to%20copy%20item%20url%20in%20document%20libraries.%20This%20will%20redirect%20the%20user%20to%20a%20aspx%20page%20hosted%20in%20CDN%20with%20some%20query%20strings%20and%20the%20javascript%20code%20written%20inside%20the%20aspx%20page%20will%20process%20the%20query%20string%20and%20update%20the%20DOM%20elements%20at%20run%20time.%20I%20am%20not%20sure%20this%20will%20work%20in%20Office%20365%20CDN.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64494%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64494%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F369%22%20target%3D%22_blank%22%3E%40Vesa%20Juvonen%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EWe%20would%20like%20to%20know%20more%20about%20global%20assets%20required%20outside%20of%20SharePoint%20Online.%20An%20example%20would%20be%20image%20references%20being%20exposed%20through%20exchange%20emails%20from%20workflows.%20We%20struggled%20with%20these%20when%20they%20reside%20in%20SharePoint%2C%20but%20they%20work%20fine%20through%20Akamai.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64445%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64445%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F48935%22%20target%3D%22_blank%22%3E%40Joseph%20Velliah%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3Eyou%20can%20absolutely%20reference%20aspx%20and%20html%20pages%20in%20the%20SharePoint%20context%20like%20typically%20with%20SharePoint%2C%20without%20CDN%20usage.%20This%20is%20like%20it%20has%20been%20for%20years%20and%20CDN%20does%20not%20change%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20might%20be%20now%20missing%20some%20scenario%20details%20around%20what%20you'd%20like%20to%20achieve%20and%20if%20so%2C%20please%20provide%20some%20additional%20details.%20thx.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64366%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64366%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Vesa%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20response.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20we%20upload%20the%20aspx%2Fhtml%20files%20in%20the%20sharepoint%20library%20and%20refer%20it%20using%20document%20library%20URL%20instead%20of%20Office%20365%20CDN%20URL%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-64169%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20CDN%20Advantages%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-64169%22%20slang%3D%22en-US%22%3EHi%20Joseph%2C%3CBR%20%2F%3Equick%20answers%20for%20your%20topics.%3CBR%20%2F%3E%3CBR%20%2F%3E-%20Benefit%20is%20the%20easily%20publishing%20through%20adding%20an%20item%20to%20a%20SharePoint%20library.%20From%20admin%20perspective%20you%20can%20easily%20control%20who%20can%20do%20this%20and%20getting%20files%20to%20the%20CDN%20is%20as%20easy%20as%20uploading%20them%20to%20SharePoint.%20In%20the%20end%20this%20service%20does%20use%20normal%20CDN%20providers%20in%20the%20background.%20There's%20also%20no%20additional%20costs%20for%20you%20on%20top%20of%20Office%20365%20subscription.%3CBR%20%2F%3E-%20Performance%20impact%20is%20hard%20to%20define%2C%20but%20you%20should%20see%20significantly%20faster%20performance%20related%20on%20the%20assets%2C%20which%20are%20getting%20published%20from%20the%20CDN%3CBR%20%2F%3E-%20You%20can%20technically%20host%20any%20static%20files%20from%20the%20CDN.%20aspx%20files%20are%20typically%20dynamic%20and%20would%20require%20server%20side%20handling%2C%20so%20those%20are%20not%20really%20usable%20through%20CDN.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

The files hosted in Office 365 CDN will be served from a specific region(where the tenant is hosted). 

 

If this correct,

 

  • What are all the additional benefits we will get over other CDN providers such as Akamai? 
  • Our tenant is subscriped in US and we have users in different countries. What will be the performance? 
  • Can we host json, aspx, html files in Office 365 CDN?
7 Replies
Highlighted
Hi Joseph,
quick answers for your topics.

- Benefit is the easily publishing through adding an item to a SharePoint library. From admin perspective you can easily control who can do this and getting files to the CDN is as easy as uploading them to SharePoint. In the end this service does use normal CDN providers in the background. There's also no additional costs for you on top of Office 365 subscription.
- Performance impact is hard to define, but you should see significantly faster performance related on the assets, which are getting published from the CDN
- You can technically host any static files from the CDN. aspx files are typically dynamic and would require server side handling, so those are not really usable through CDN.

Highlighted

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? 

Highlighted

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.

Highlighted

Hi @Vesa Juvonen,

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.

Highlighted

Hi @Vesa Juvonen

 

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. 

Highlighted

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.

Highlighted

Hi @Vesa Juvonen

 

Thank you for the suggestions. 

 

We will explore the same and come back to you if we have any questions.