Quoting the article in Wikipedia: Content delivery network – Wikipedia, the free encyclopedia

A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance. CDNs serve a large fraction of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, andsocial networks.

Resuming, CDN is a place where some files are hosted to improve the user experience.

If lots of websites use jQuery, instead each one of them host their own jQuery files in their server, they use jQuery files hosted in a CDN server.

This is a good idea because they’ll save space and traffic in their own server at the same time they’ll share the cache in the user’s browser.

Google has a specific website to share the most popular javascript libraries: https://developers.google.com/speed/libraries/devguide

Microsoft has one as well: http://www.asp.net/ajaxlibrary/cdn.ashx

To make us happy, SAP has a CDN which provides UI5 libraries for our apps.

If your app runs on SAP ECC environment, you should use:

SAPUI5 – https://sapui5.hana.ondemand.com/resources/sap-ui-core.js

If your app has nothing to do with SAP, so you should use:

OpenUI5 – https://openui5.hana.ondemand.com/resources/sap-ui-core.js

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Jason Scott

    Is this *really* a CDN? Does it have nodes in Australia. Still seems *VERY* slow serving UI5 resources from those links to Australia.

    (0) 
    1. Mauricio Lauffer Post author

      I got the files from Germany in my tests. I’m not sure if there are servers across the world, but we are encouraged to use this url.

      (0) 
  2. Nigel James

    I am with Jason – this is not really a CDN. It is the European servers.

    There is an Asia Pac Server and a US server but having to change your URL to: sapui5.ap1.hana.ondemand.com

    means that it is NOT a CDN.

    If you go to jQuery CDN you will see that it is powered by CDN by MaxCDN | Content Delivery Network Services Max CDN

    In this Stack Overflow Question CDN for SAPUI5 access – or alternate way to get fastest local access – Stack Overflow – this very question was raised.

    One option is cdnjs.com which is being investigation by SAP.

    Hopefully they will report soon.

    Cheers,

    Nigel

    (0) 
  3. Andreas Kunz

    Now, as of January 2015 there is a real CDN with geo routing implemented for OpenUI5 (or more specifically, for everything below the URL https://openui5.hana.ondemand.com).

    It does not only serve the data from the closest SAP data center (Germany, USA, Australia), but uses the popular Akamai CDN technology on top, which provides thousands of servers around the world.

    See http://openui5.tumblr.com/post/108835000027/openui5-in-your-neighborhood-a-true-cdn-has-gone for more details.

    (0) 

Leave a Reply